WXK
2025-02-27 07d3633e5d6905272d19da645c767b7267f27a8f
Src/stm32l0xx_it.c
@@ -45,6 +45,7 @@
float nomove_count=0;
float button_delay = 1;
u16 button_start;
extern uint8_t mcu_sleep_flag;
/* USER CODE END PV */
/* Private function prototypes -----------------------------------------------*/
@@ -160,6 +161,8 @@
   if(GET_IMUINT)
   {
      nomove_count = 0;
        if(mcu_sleep_flag)
        {HAL_NVIC_SystemReset();}
   }
   
   if(!GET_USERKEY)