X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=bike-lights.git;a=blobdiff_plain;f=firmware%2Ftmr.c;h=7a31f19e486e2ab5edd720d36f5ea88255e273e5;hp=2e61db859d2570b23b00ecd6eb5a460a3138ae16;hb=09f4c911ed99f5d73f4c005d79cc46d901765a88;hpb=67fee443a9e9465923ad7e7704eb9000cba49cdd diff --git a/firmware/tmr.c b/firmware/tmr.c index 2e61db8..7a31f19 100644 --- a/firmware/tmr.c +++ b/firmware/tmr.c @@ -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)