summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2025-07-20 15:33:57 +0200
committerHiFiPhile <[email protected]>2025-07-20 15:33:57 +0200
commit93f1f5b75916d13fd0cda6e4dfa10d0c9cf733c0 (patch)
tree76b06ef3aa8b48beab879518abc6a8984e0622ed
parent8a78804ff91271fb32008288777fad9fe73f5735 (diff)
fix typo
Signed-off-by: HiFiPhile <[email protected]>
-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