aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/wiring_private.h
diff options
context:
space:
mode:
authorKristian Sloth Lauszus <lauszus@gmail.com>2013-04-04 20:55:15 +0200
committerKristian Sloth Lauszus <lauszus@gmail.com>2013-04-04 20:55:15 +0200
commited42d9541213a5e37fe0151dee89868d5c502305 (patch)
treebbbe945a90fb177c114c392e0f3089be7622a283 /cores/arduino/wiring_private.h
parentf50c307be280dc6ece9e70c43b301c1db36291a0 (diff)
Added support for all variants of Sanguino
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 f678265..90dbf2c 100755
--- a/cores/arduino/wiring_private.h
+++ b/cores/arduino/wiring_private.h
@@ -54,7 +54,7 @@ extern "C"{
#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
#define EXTERNAL_NUM_INTERRUPTS 8
-#elif defined(__AVR_ATmega1284P__) || defined(__AVR_ATmega644P__)
+#elif defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__) || defined(__AVR_ATmega644__) || defined(__AVR_ATmega644A__) || defined(__AVR_ATmega644P__) || defined(__AVR_ATmega644PA__)
#define EXTERNAL_NUM_INTERRUPTS 3
#elif defined(__AVR_ATmega32U4__)
#define EXTERNAL_NUM_INTERRUPTS 4