aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2014-05-02 12:50:07 +0200
committerMatthijs Kooijman <matthijs@stdin.nl>2014-05-02 12:50:07 +0200
commit6d4273609b2f8d8c71ff30bda6e075f3d50e335a (patch)
tree35954a12121457db7ad57a08bf6c5b7222907acb /cores/arduino
parentb9f95980c7412900722397298a93d1143ad31032 (diff)
Fix EXTERNAL_NUM_INTERRUPTS for atmega128rfa1 and atmega256rfr2
Diffstat (limited to 'cores/arduino')
-rw-r--r--cores/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 c366005..5dc7d4b 100644
--- a/cores/arduino/wiring_private.h
+++ b/cores/arduino/wiring_private.h
@@ -52,7 +52,7 @@ extern "C"{
#define EXTERNAL_INT_6 6
#define EXTERNAL_INT_7 7
-#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
+#if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) || defined(__AVR_ATmega128RFA1__) || defined(__AVR_ATmega256RFR2__)
#define EXTERNAL_NUM_INTERRUPTS 8
#elif defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__) || defined(__AVR_ATmega644__) || defined(__AVR_ATmega644A__) || defined(__AVR_ATmega644P__) || defined(__AVR_ATmega644PA__)
#define EXTERNAL_NUM_INTERRUPTS 3