1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-30 19:52:13 +01:00

Merge pull request #4547 from feilipu/master

Added to #define for 1284/1284p Timer 3 inclusion.
This commit is contained in:
Martino Facchin 2016-02-12 11:55:38 +01:00
commit c51ae1d6a3

View File

@ -47,7 +47,7 @@ typedef enum { _timer1, _Nbr_16timers } timer16_Sequence_t;
#define _useTimer1 #define _useTimer1
typedef enum { _timer3, _timer1, _Nbr_16timers } timer16_Sequence_t; typedef enum { _timer3, _timer1, _Nbr_16timers } timer16_Sequence_t;
#elif defined(__AVR_ATmega128__) ||defined(__AVR_ATmega1281__)||defined(__AVR_ATmega2561__) #elif defined(__AVR_ATmega128__) || defined(__AVR_ATmega1281__) || defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__) || defined(__AVR_ATmega2561__)
#define _useTimer3 #define _useTimer3
#define _useTimer1 #define _useTimer1
typedef enum { _timer3, _timer1, _Nbr_16timers } timer16_Sequence_t; typedef enum { _timer3, _timer1, _Nbr_16timers } timer16_Sequence_t;