]> www.fi.muni.cz Git - bike-lights.git/blobdiff - firmware/tmr.c
pwm.c: channels running - visible from the outside
[bike-lights.git] / firmware / tmr.c
index 2e61db859d2570b23b00ecd6eb5a460a3138ae16..7a31f19e486e2ab5edd720d36f5ea88255e273e5 100644 (file)
@@ -22,6 +22,7 @@ ISR(WDT_vect) {
 
        timer_check_buttons();
        patterns_next_tick();
+       pwm_disable_if_not_needed();
        timer_start_slow_adcs();
 
        if ((jiffies & 0x7FF) == 0)