summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/bsp/stm32h7rs/family.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bsp/stm32h7rs/family.c b/hw/bsp/stm32h7rs/family.c
index b506a02ab..80ac81125 100644
--- a/hw/bsp/stm32h7rs/family.c
+++ b/hw/bsp/stm32h7rs/family.c
@@ -329,7 +329,7 @@ void board_init(void) {
HAL_PWREx_EnableUSBVoltageDetector();
HAL_PWREx_EnableUSBReg();
- __HAL_RCC_USB2_OTG_FS_CLK_ENABLE();
+ __HAL_RCC_USB_OTG_FS_CLK_ENABLE();
// PM14 VUSB, PM10 ID, PM11 DM, PM12 DP
// Configure DM DP Pins