diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-12-21 21:09:45 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-12-21 21:10:00 +0100 |
commit | 56dc720dffcc4639e0bb5492c6101f3e2aa9b5ad (patch) | |
tree | e2c4ad6c212049830e6de986f5aacf00319816a1 /src/arch/arduino-nano | |
parent | 4cd3ce53b396b7daa46fb9e1ba333f687af0eb2a (diff) |
Remove unused TIMER_US support
Diffstat (limited to 'src/arch/arduino-nano')
-rw-r--r-- | src/arch/arduino-nano/arch.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/arch/arduino-nano/arch.cc b/src/arch/arduino-nano/arch.cc index 5f72c06..87b81cc 100644 --- a/src/arch/arduino-nano/arch.cc +++ b/src/arch/arduino-nano/arch.cc @@ -50,14 +50,6 @@ void Arch::setup(void) TIMSK1 = _BV(OCIE1A); #endif -#ifdef TIMER_US -#if F_CPU != 16000000UL -#error TIMER_US is only supported with F_CPU = 16MHz -#endif - // 16MHz/8 -> 2MHz timer - TCCR2A = 0; - TCCR2B = _BV(CS21); -#endif sei(); } |