Src/main.c
@@ -31,7 +31,7 @@ #define NSH1 0x0001 #define GP 0x0002 //#define DEBUG_MODE #define DEBUG_MODE /* USER CODE END Includes */ /* Private typedef -----------------------------------------------------------*/ @@ -488,6 +488,7 @@ HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI); #endif } active_flag=1; if(g_start_send_flag&&active_flag/*&&uwb_active_flag*/) { static uint16_t blink_count=0; g_start_send_flag = 0;