diff --git a/src/led.c b/src/led.c --- a/src/led.c +++ b/src/led.c @@ -46,7 +46,8 @@ void led_update(led_name_t led) led_set(led, 0); led_timers[led]--; } - else { + else if (led_cycles[led] > 0) + { led_set(led, 0); led_timers[led] = led_cycles[led]; }