Skip to content

Commit e1509ba

Browse files
authored
Merge pull request #3182 from HiFiPhile/h7_fix
bsp/h7rs: fix a typo
2 parents 2e0ea80 + 93f1f5b commit e1509ba

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)