Place ATmega1281 define in correct section (it does have compare C

unit, avoid duplicate define and compiler warning).
This commit is contained in:
Ivan Delamer 2012-09-01 15:22:13 -06:00
parent 5636357243
commit 2e72ec3594

View file

@ -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