From eef689b2e209dcf84c149ee4866c2a007676dc71 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 6 Feb 2026 16:46:28 +0530 Subject: Fix timer interrupt priority + refactor --- test/stubbed/avr/io.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'test/stubbed/avr/io.h') diff --git a/test/stubbed/avr/io.h b/test/stubbed/avr/io.h index 8c1ee92..40cc460 100644 --- a/test/stubbed/avr/io.h +++ b/test/stubbed/avr/io.h @@ -36,10 +36,8 @@ static int TCCR1B = 0; static int TCCR1A = 0; static int TIMSK1 = 0; static int TIFR1 = 0; -static int OCR1AH = 0; -static int OCR1BH = 0; -static int OCR1AL = 0; -static int OCR1BL = 0; +static int OCR1A = 0; +static int OCR1B = 0; static int TCNT1 = 0; static int TCNT1H = 0; static int TCNT1L = 0; @@ -63,4 +61,10 @@ static int TCNT1L = 0; #define TOV1 0 #define OCF1A 0 #define OCF1B 0 +#define OCF0A 0 +#define OCF0B 0 +#define OCIE0A 0 +#define OCIE0B 0 +#define OCIE1A 0 +#define OCIE1B 0 #endif -- cgit v1.3.1