We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 026dcd6 + 4e23cb0 commit 6765cf7Copy full SHA for 6765cf7
bsp/stm32/libraries/HAL_Drivers/drv_pm.c
@@ -95,11 +95,13 @@ static void run(struct rt_pm *pm, uint8_t mode)
95
{
96
case PM_RUN_MODE_HIGH_SPEED:
97
case PM_RUN_MODE_NORMAL_SPEED:
98
+ HAL_PWREx_DisableLowPowerRunMode();
99
SystemClock_80M();
100
/* Configure the main internal regulator output voltage (Range1 by default)*/
101
HAL_PWREx_ControlVoltageScaling(PWR_REGULATOR_VOLTAGE_SCALE1);
102
break;
103
case PM_RUN_MODE_MEDIUM_SPEED:
104
105
SystemClock_24M();
106
/* Configure the main internal regulator output voltage */
107
HAL_PWREx_ControlVoltageScaling(PWR_REGULATOR_VOLTAGE_SCALE2);
0 commit comments