fix: 线圈断开期间绿灯灭, 黄灯快闪负责故障指示
This commit is contained in:
@@ -201,6 +201,13 @@ void poll_green_led(void)
|
||||
|
||||
static uint16_t _slow_tick = 0;
|
||||
|
||||
/*--- 线圈断开中 → 灭(黄灯快闪负责故障指示) ---*/
|
||||
if (g_disconnect_active) {
|
||||
LEDA_OFF;
|
||||
_slow_tick = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
/*--- 自检阶段:慢闪 ---*/
|
||||
if (loop1_INI_LOOP || !g_loop_power_up_state || !g_loop_stable) {
|
||||
_slow_tick++;
|
||||
|
||||
Reference in New Issue
Block a user