From 81c695168ee4cc64e887c7401305ed6b719d9688 Mon Sep 17 00:00:00 2001 From: dexslab Date: Mon, 28 Sep 2020 15:13:48 -0400 Subject: [PATCH] revert of timer.cpp --- Timer.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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