mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #14970 from MubeenHCLite/USBSerial_connect_blocking_resolution
USB connect problem in non blocking modepull/14978/head
commit
7214fe9c99
|
@ -318,6 +318,7 @@ void USBPhyHw::init(USBPhyEvents *events)
|
|||
HAL_StatusTypeDef ret = HAL_PCD_Init(&hpcd);
|
||||
MBED_ASSERT(ret == HAL_OK);
|
||||
__HAL_PCD_ENABLE(&hpcd);
|
||||
HAL_PCD_Start(&hpcd);
|
||||
|
||||
// Configure FIFOs
|
||||
#if (MBED_CONF_TARGET_USB_SPEED == USE_USB_NO_OTG)
|
||||
|
|
Loading…
Reference in New Issue