diff options
Diffstat (limited to 'cores/arduino/wiring_private.h')
-rwxr-xr-x | cores/arduino/wiring_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/wiring_private.h b/cores/arduino/wiring_private.h index 2dfe552..11f6f00 100755 --- a/cores/arduino/wiring_private.h +++ b/cores/arduino/wiring_private.h @@ -53,7 +53,7 @@ extern "C"{ #define EXTERNAL_INT_6 6 #define EXTERNAL_INT_7 7 -#if defined(__AVR_ATmega1280__) +#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) #define EXTERNAL_NUM_INTERRUPTS 8 #else #define EXTERNAL_NUM_INTERRUPTS 2 |