diff --git a/Timer.cpp b/Timer.cpp index 3a73401..1430e9c 100644 --- a/Timer.cpp +++ b/Timer.cpp @@ -85,15 +85,10 @@ ISR(TIMER2_OVF_vect) #include "ATMEGA4809/Timer.h" -Timer TimerA(1); -Timer TimerB(2); +Timer TimerA(0); -ISR(TIMER1_OVF_vect) { +ISR(TCA0_OVF_vect) { TimerA.isrCallback(); } -ISR(TIMER2_OVF_vect) { - TimerB.isrCallback(); -} - #endif