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)