Skip to content

Commit a656f51

Browse files
authored
Merge pull request #11963 from jeromecoutant/PR_USB_L4
STM32 USB : Add __HAL_RCC_PWR_CLK_ENABLE
2 parents b4a885d + c5ffd40 commit a656f51

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

targets/TARGET_STM/USBPhy_STM32.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,8 @@ void USBPhyHw::init(USBPhyEvents *events)
228228
map++;
229229
}
230230

231+
__HAL_RCC_PWR_CLK_ENABLE();
232+
231233
#if !defined(TARGET_STM32WB)
232234
__HAL_RCC_SYSCFG_CLK_ENABLE();
233235
#endif

0 commit comments

Comments
 (0)