X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=tmk_core%2Fcommon%2Favr%2Ftimer.c;h=1aa4a6a80cee68d39ed748083acfc7d620514b3c;hb=23037e108f1bbdd78bee59e7bf95b8b790a1663e;hp=292b41c3a6c29fca9e4319114a0759473ea3e7e3;hpb=83a3de38b710d0eb5a752ffded6da2e8bf818b22;p=max%2Ftmk_keyboard.git diff --git a/tmk_core/common/avr/timer.c b/tmk_core/common/avr/timer.c index 292b41c3..1aa4a6a8 100644 --- a/tmk_core/common/avr/timer.c +++ b/tmk_core/common/avr/timer.c @@ -46,7 +46,11 @@ void timer_init(void) #endif OCR0A = TIMER_RAW_TOP; +#ifdef TIMSK0 TIMSK0 = (1<