From 56dc720dffcc4639e0bb5492c6101f3e2aa9b5ad Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 21 Dec 2021 21:09:45 +0100 Subject: Remove unused TIMER_US support --- src/arch/arduino-nano/arch.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/arch/arduino-nano') 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(); } -- cgit v1.2.3