Repeative error --- HAL_GPIO_DeInit(GPIOA,GPIO_PIN_All); // error bug here

This commit is contained in:
Yunhorn 2024-05-24 20:27:32 +08:00
parent ebb2c90e41
commit 119c19708a
1 changed files with 3 additions and 3 deletions

View File

@ -106,9 +106,9 @@ void PWR_EnterStopMode(void)
{ {
/* USER CODE BEGIN EnterStopMode_1 */ /* USER CODE BEGIN EnterStopMode_1 */
PME_OFF; PME_OFF;
//HAL_GPIO_DeInit(GPIOA,GPIO_PIN_All); HAL_GPIO_DeInit(GPIOA,GPIO_PIN_All); // repeative error
//HAL_GPIO_DeInit(GPIOB,GPIO_PIN_All); HAL_GPIO_DeInit(GPIOB,GPIO_PIN_All);
//HAL_GPIO_DeInit(GPIOC,GPIO_PIN_All); HAL_GPIO_DeInit(GPIOC,GPIO_PIN_All);
/* USER CODE END EnterStopMode_1 */ /* USER CODE END EnterStopMode_1 */
HAL_SuspendTick(); HAL_SuspendTick();