Skip to content

Commit

Permalink
Remove redundant definition of timer0_millis as extern already defined
Browse files Browse the repository at this point in the history
  • Loading branch information
ngyl88 committed Jul 19, 2020
1 parent 46c51f1 commit 92a6210
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions platforms/avr/led_sysdefs_avr.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ extern volatile unsigned long timer0_millis;
# endif
};

// special defs for mega environments
#if defined(__AVR_ATmega4809__)
volatile unsigned long timer0_millis = 0;
#endif

// special defs for the tiny environments
#if defined(__AVR_ATmega32U2__) || defined(__AVR_ATmega16U2__) || defined(__AVR_ATmega8U2__) || defined(__AVR_AT90USB162__) || defined(__AVR_ATtiny24__) || defined(__AVR_ATtiny44__) || defined(__AVR_ATtiny84__) || defined(__AVR_ATtiny25__) || defined(__AVR_ATtiny45__) || defined(__AVR_ATtiny85__) || defined(__AVR_ATtiny167__) || defined(__AVR_ATtiny87__) || defined(__AVR_ATtinyX41__) || defined(__AVR_ATtiny841__) || defined(__AVR_ATtiny441__)
#define LIB8_ATTINY 1
Expand Down

0 comments on commit 92a6210

Please sign in to comment.