optimize low power
This commit is contained in:
parent
6493b729f9
commit
49cfb4732b
|
@ -80,6 +80,7 @@ const struct UTIL_LPM_Driver_s UTIL_PowerDriver =
|
|||
|
||||
void PWR_EnterOffMode(void)
|
||||
{
|
||||
POWER_OFF;
|
||||
HAL_GPIO_DeInit(GPIOA,GPIO_PIN_All);
|
||||
HAL_GPIO_DeInit(GPIOB,GPIO_PIN_All);
|
||||
HAL_GPIO_DeInit(GPIOC,GPIO_PIN_All);
|
||||
|
@ -127,7 +128,7 @@ void PWR_ExitStopMode(void)
|
|||
/* Resume sysTick : work around for debugger problem in dual core */
|
||||
|
||||
HAL_ResumeTick();
|
||||
POWER_ON;
|
||||
//POWER_ON;
|
||||
/*Not retained periph:
|
||||
ADC interface
|
||||
DAC interface USARTx, TIMx, i2Cx, SPIx
|
||||
|
|
Loading…
Reference in New Issue