We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5047bd3 commit 94794f9Copy full SHA for 94794f9
targets/TARGET_STM/USBPhy_STM32.cpp
@@ -317,6 +317,7 @@ void USBPhyHw::init(USBPhyEvents *events)
317
hpcd.State = HAL_PCD_STATE_RESET;
318
HAL_StatusTypeDef ret = HAL_PCD_Init(&hpcd);
319
MBED_ASSERT(ret == HAL_OK);
320
+ __HAL_PCD_ENABLE(&hpcd);
321
322
// Configure FIFOs
323
#if (MBED_CONF_TARGET_USB_SPEED == USE_USB_NO_OTG)
0 commit comments