From ebb2c90e41ea0330919eb8501dcde571a40b6c6c Mon Sep 17 00:00:00 2001 From: YunHorn Technology Date: Fri, 24 May 2024 19:57:18 +0800 Subject: [PATCH] enable PME_OFF in stop mode... no harm so far --- Core/Src/stm32_lpm_if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Src/stm32_lpm_if.c b/Core/Src/stm32_lpm_if.c index c1cb96d..b226168 100644 --- a/Core/Src/stm32_lpm_if.c +++ b/Core/Src/stm32_lpm_if.c @@ -105,7 +105,7 @@ void PWR_ExitOffMode(void) void PWR_EnterStopMode(void) { /* USER CODE BEGIN EnterStopMode_1 */ - //PME_OFF; + PME_OFF; //HAL_GPIO_DeInit(GPIOA,GPIO_PIN_All); //HAL_GPIO_DeInit(GPIOB,GPIO_PIN_All); //HAL_GPIO_DeInit(GPIOC,GPIO_PIN_All);