From: Christian Pointner Date: Sun, 26 Apr 2009 23:45:04 +0000 (+0000) Subject: fixed timer0 bug X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=dd21c9b5f5bc14086d884c0cd0e535b56bbd63c8;p=svn42.git fixed timer0 bug --- diff --git a/firmware/tuer.pde b/firmware/tuer.pde index c0c4bf1..314ade2 100644 --- a/firmware/tuer.pde +++ b/firmware/tuer.pde @@ -109,7 +109,7 @@ void start_debounce_timer() // this breaks millis() function, but who cares debounce_cnt = DEBOUNCE_DELAY; TCCR0A = 0; // no prescaler, WGM = 0 (normal) - TCCR0B = 1< 16us @ 16 MHz TCNT0 = 0; // reseting timer TIMSK0 = 1<