diff --git a/Core/Src/gpio.c b/Core/Src/gpio.c index 7e60793..d3490fb 100644 --- a/Core/Src/gpio.c +++ b/Core/Src/gpio.c @@ -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*/ diff --git a/Core/Src/stm32_lpm_if.c b/Core/Src/stm32_lpm_if.c index 6cfb922..d6e973d 100644 --- a/Core/Src/stm32_lpm_if.c +++ b/Core/Src/stm32_lpm_if.c @@ -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