summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2025-07-24 16:44:17 +0700
committerGitHub <[email protected]>2025-07-24 16:44:17 +0700
commite1509ba0bb5d4aa64c6ec471ea408c2ab43a027a (patch)
tree39fc2a3eb4f9d4d69b094234d93f3bc8b53b747a
parent2e0ea80091b2459089b9255a24122c9be4b9b4f2 (diff)
parent93f1f5b75916d13fd0cda6e4dfa10d0c9cf733c0 (diff)
Merge pull request #3182 from HiFiPhile/h7_fix
bsp/h7rs: fix a typo
-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