Skip to content

Commit

Permalink
Merge pull request #14970 from MubeenHCLite/USBSerial_connect_blockin…
Browse files Browse the repository at this point in the history
…g_resolution

USB connect problem in non blocking mode
  • Loading branch information
0xc0170 authored Aug 2, 2021
2 parents 3318720 + b429aeb commit 7214fe9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions targets/TARGET_STM/USBPhy_STM32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7214fe9

Please sign in to comment.