mirror of
https://github.com/Theaninova/Arduino-IRremote.git
synced 2026-01-03 03:52:54 +00:00
Previously, when enabling or disabling interrupts on the ATmega8, the whole TIMSK register was overwritten. This disables all other timer interrupts (for Timer0 and Timer2). The fix takes care of that by selectively enabling/disabling the required OCIE1A flag.
15 KiB
15 KiB