Create timer0 overflow interrupt service routine for all ATtinies not just 24, 44 and 84
This commit is contained in:
parent
6c861d8c70
commit
fb7c2cc02e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue