add back power on after exit standby/stop2 mode
This commit is contained in:
parent
d12e534ff0
commit
1458ae8e13
|
@ -193,8 +193,8 @@ HAL_GPIO_Init(SOAP_SWITCH_GPIO_Port, &GPIO_InitStruct);
|
|||
/* ============== SOAP LEVEL DETECTION ========================= */
|
||||
#endif
|
||||
|
||||
__HAL_RCC_GPIOA_CLK_DISABLE();
|
||||
__HAL_RCC_GPIOB_CLK_DISABLE();
|
||||
//__HAL_RCC_GPIOA_CLK_DISABLE();
|
||||
//__HAL_RCC_GPIOB_CLK_DISABLE();
|
||||
|
||||
#if 0
|
||||
/* EXTI interrupt init*/
|
||||
|
|
|
@ -95,7 +95,7 @@ void PWR_ExitOffMode(void)
|
|||
{
|
||||
/* USER CODE BEGIN ExitOffMode_1 */
|
||||
#if 1
|
||||
|
||||
POWER_ON;
|
||||
HAL_ResumeTick();
|
||||
return;
|
||||
#endif
|
||||
|
@ -132,7 +132,7 @@ void PWR_ExitStopMode(void)
|
|||
|
||||
/* USER CODE END ExitStopMode_1 */
|
||||
/* Resume sysTick : work around for debugger problem in dual core */
|
||||
|
||||
POWER_ON;
|
||||
HAL_ResumeTick();
|
||||
/*Not retained periph:
|
||||
ADC interface
|
||||
|
|
Loading…
Reference in New Issue