Skip to content

Commit

Permalink
Fix #76: Remove the change with PWR_LOWPOWERREGULATOR_ON
Browse files Browse the repository at this point in the history
  • Loading branch information
dhineshkumarmcci committed Apr 9, 2019
1 parent 2dd4bb3 commit f0f7f12
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions system/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.c
Original file line number Diff line number Diff line change
Expand Up @@ -553,9 +553,6 @@ void HAL_PWR_EnterSTOPMode(uint32_t Regulator, uint8_t STOPEntry)
uint32_t const save_syscfg_cfgr3 = SYSCFG->CFGR3;
uint32_t tmpreg;

/* Enable the low power voltage regulator */
SET_BIT(PWR->CR, PWR_LOWPOWERREGULATOR_ON);

/* Set Ultra-Low-power mode by switch-off Vrefint */
SET_BIT(PWR->CR, PWR_CR_ULP);

Expand Down

1 comment on commit f0f7f12

@chwon64
Copy link

@chwon64 chwon64 commented on f0f7f12 Apr 9, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you test standby is working after you remove low power voltage regulator on code?

Please sign in to comment.