Skip to content

Commit 93f1f5b

Browse files
committed
fix typo
Signed-off-by: HiFiPhile <[email protected]>
1 parent 8a78804 commit 93f1f5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hw/bsp/stm32h7rs/family.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ void board_init(void) {
329329
HAL_PWREx_EnableUSBVoltageDetector();
330330
HAL_PWREx_EnableUSBReg();
331331

332-
__HAL_RCC_USB2_OTG_FS_CLK_ENABLE();
332+
__HAL_RCC_USB_OTG_FS_CLK_ENABLE();
333333

334334
// PM14 VUSB, PM10 ID, PM11 DM, PM12 DP
335335
// Configure DM DP Pins

0 commit comments

Comments
 (0)