X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=bike-lights.git;a=blobdiff_plain;f=tmr.c;h=5a4403797f1db1fb29af62faaae90ce386ebe84f;hp=2d521890797a01fa651759a21d402d0eb4806190;hb=569867e93d1689d327a4fbf496e41d90cb0a4e1c;hpb=ab36620407b4d76d80ed0ddb08d9c161e91fe39e 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; }