summaryrefslogtreecommitdiffstats
path: root/bsps/arm/stm32h7/start/bspstarthooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/arm/stm32h7/start/bspstarthooks.c')
-rw-r--r--bsps/arm/stm32h7/start/bspstarthooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/arm/stm32h7/start/bspstarthooks.c b/bsps/arm/stm32h7/start/bspstarthooks.c
index dcd4b0bef2..ef26af5eba 100644
--- a/bsps/arm/stm32h7/start/bspstarthooks.c
+++ b/bsps/arm/stm32h7/start/bspstarthooks.c
@@ -43,7 +43,7 @@ void HAL_MspInit(void)
static void init_power(void)
{
- HAL_PWREx_ConfigSupply(PWR_LDO_SUPPLY);
+ HAL_PWREx_ConfigSupply(STM32H7_PWR_SUPPLY);
__HAL_PWR_VOLTAGESCALING_CONFIG(stm32h7_config_pwr_regulator_voltagescaling);
while (!__HAL_PWR_GET_FLAG(PWR_FLAG_VOSRDY)) {