Place ATmega1281 define in correct section (it does have compare C
unit, avoid duplicate define and compiler warning).
This commit is contained in:
parent
5636357243
commit
2e72ec3594
1 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@
|
|||
#include "sys/rtimer.h"
|
||||
#include "rtimer-arch.h"
|
||||
|
||||
#if defined(__AVR_ATmega1281__) || defined(__AVR_ATmega1284P__)
|
||||
#if defined(__AVR_ATmega1284P__)
|
||||
#define ETIMSK TIMSK3
|
||||
#define ETIFR TIFR3
|
||||
#define TICIE3 ICIE3
|
||||
|
@ -65,7 +65,7 @@
|
|||
#define OCF3C OCF3B
|
||||
#endif
|
||||
|
||||
#if defined(__AVR_AT90USB1287__) || defined(__AVR_ATmega128RFA1__)
|
||||
#if defined(__AVR_ATmega1281__) || defined(__AVR_AT90USB1287__) || defined(__AVR_ATmega128RFA1__)
|
||||
#define ETIMSK TIMSK3
|
||||
#define ETIFR TIFR3
|
||||
#define TICIE3 ICIE3
|
||||
|
|
Loading…
Reference in a new issue