Core/Src/main.c
@@ -975,6 +975,8 @@ uint16_t work_time; uint8_t input5vtime=10; uint32_t main_time; uint8_t ledonflag; uint32_t ledontime; void HAL_LPTIM_CompareMatchCallback(LPTIM_HandleTypeDef *hlptim) { SystemClock_Config(); @@ -993,6 +995,8 @@ }else{ powerled = RED; } ledonflag=1; ledontime=HIDO_TimerGetTick(); Set4LEDColor(uwbled,gpsled,loraled,powerled); }