From 119c19708a27f11980e114655edd423873d1f1c3 Mon Sep 17 00:00:00 2001 From: YunHorn Technology Date: Fri, 24 May 2024 20:27:32 +0800 Subject: [PATCH] Repeative error --- HAL_GPIO_DeInit(GPIOA,GPIO_PIN_All); // error bug here --- Core/Src/stm32_lpm_if.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/Src/stm32_lpm_if.c b/Core/Src/stm32_lpm_if.c index b226168..de7fd83 100644 --- a/Core/Src/stm32_lpm_if.c +++ b/Core/Src/stm32_lpm_if.c @@ -106,9 +106,9 @@ void PWR_EnterStopMode(void) { /* USER CODE BEGIN EnterStopMode_1 */ PME_OFF; - //HAL_GPIO_DeInit(GPIOA,GPIO_PIN_All); - //HAL_GPIO_DeInit(GPIOB,GPIO_PIN_All); - //HAL_GPIO_DeInit(GPIOC,GPIO_PIN_All); + HAL_GPIO_DeInit(GPIOA,GPIO_PIN_All); // repeative error + HAL_GPIO_DeInit(GPIOB,GPIO_PIN_All); + HAL_GPIO_DeInit(GPIOC,GPIO_PIN_All); /* USER CODE END EnterStopMode_1 */ HAL_SuspendTick();