diff options
Diffstat (limited to 'common/led_pwm.c')
-rw-r--r-- | common/led_pwm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/led_pwm.c b/common/led_pwm.c index 3faa92cafe..90c22c5202 100644 --- a/common/led_pwm.c +++ b/common/led_pwm.c @@ -111,6 +111,12 @@ static void pulse_leds_deferred(void) if (!led_is_pulsing) { tick_count = 0; + /* + * Since we're not pulsing anymore, turn the colors off in case + * we were in the "on" time. + */ + set_led_color(-1); + /* Then show the desired state. */ update_leds(); return; } |