X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=tmk_core%2Fcommon%2Favr%2Ftimer.c;h=1aa4a6a80cee68d39ed748083acfc7d620514b3c;hb=9977fd514076651400b088268c1c0b57e6b00772;hp=292b41c3a6c29fca9e4319114a0759473ea3e7e3;hpb=524c7d133c57fd744906a0269189fe4bc979e894;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<