X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=tmr.c;h=5a4403797f1db1fb29af62faaae90ce386ebe84f;hb=397cd6dcd653cecedb9448b4afc092dc2ec47e8b;hp=2d521890797a01fa651759a21d402d0eb4806190;hpb=dbbcaf6e61197990ec21a702102c81deb66f2110;p=bike-lights.git diff --git a/tmr.c b/tmr.c index 2d52189..5a44037 100644 --- a/tmr.c +++ b/tmr.c @@ -23,6 +23,7 @@ ISR(TIMER0_COMPA_vect) ++jiffies; if (--pattern_div == 0) { + timer_check_buttons(); patterns_next_tick(); pattern_div = PATTERN_DIV; }