From fb7c2cc02ebc38319ec86901d0a3c9f7249fb041 Mon Sep 17 00:00:00 2001 From: Torben Nielsen Date: Mon, 27 Apr 2015 15:33:38 +0200 Subject: Create timer0 overflow interrupt service routine for all ATtinies not just 24, 44 and 84 --- cores/arduino/wiring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cores') diff --git a/cores/arduino/wiring.c b/cores/arduino/wiring.c index b956f78..9727135 100644 --- a/cores/arduino/wiring.c +++ b/cores/arduino/wiring.c @@ -39,7 +39,7 @@ volatile unsigned long timer0_overflow_count = 0; volatile unsigned long timer0_millis = 0; static unsigned char timer0_fract = 0; -#if defined(__AVR_ATtiny24__) || defined(__AVR_ATtiny44__) || defined(__AVR_ATtiny84__) +#if defined(TIM0_OVF_vect) ISR(TIM0_OVF_vect) #else ISR(TIMER0_OVF_vect) -- cgit v1.2.3-18-g5258