aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/wiring_private.h
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2010-09-08 22:33:33 +0000
committerDavid A. Mellis <d.mellis@arduino.cc>2010-09-08 22:33:33 +0000
commitf9a3b5cfa9b591096b80a7541323c4319da2d32d (patch)
treee371a9e83e28c3eeb7113b963c44cd11fe0135ee /cores/arduino/wiring_private.h
parent4bbd4f7448907ed0133ef737fc694751f9f97ea3 (diff)
1280 -> 1280/2560.
Diffstat (limited to 'cores/arduino/wiring_private.h')
-rwxr-xr-xcores/arduino/wiring_private.h2
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