diff options
author | Karel Gardas <karel@functional.vision> | 2022-04-01 18:14:09 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-04-05 09:56:05 +0200 |
commit | 044bc3ceab0703d079c4393c46615e7aa1732b93 (patch) | |
tree | 3b05d4d9255fcd4adec6e09f96349c67371e1730 /bsps/arm | |
parent | bsp/stm32h7: add spec file for the STM32H7B3I-DK BSP variant (diff) | |
download | rtems-044bc3ceab0703d079c4393c46615e7aa1732b93.tar.bz2 |
bsp/stm32h7: add power supply configuration
Diffstat (limited to 'bsps/arm')
-rw-r--r-- | bsps/arm/stm32h7/start/bspstarthooks.c | 2 |
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)) { |