]> www.fi.muni.cz Git - bike-lights.git/blobdiff - tmr.c
preliminary button handling code
[bike-lights.git] / tmr.c
diff --git a/tmr.c b/tmr.c
index 2d521890797a01fa651759a21d402d0eb4806190..5a4403797f1db1fb29af62faaae90ce386ebe84f 100644 (file)
--- 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;
        }