aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/wiring_private.h
diff options
context:
space:
mode:
authorFede85 <f.vanzati@gmail.com>2013-05-13 21:22:59 +0200
committerFede85 <f.vanzati@gmail.com>2013-05-13 21:22:59 +0200
commitcc5f2a52b4561c74caad221ec65c91539d958664 (patch)
tree06a1da56f89e76401a70d5ceb8af9dd071a75242 /cores/arduino/wiring_private.h
parenteb40f35b2d95b2701d92e3b8baf53832a3bd2993 (diff)
Added support to INT6 on Leonardo.
Fixes #988
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 90dbf2c..c366005 100755
--- a/cores/arduino/wiring_private.h
+++ b/cores/arduino/wiring_private.h
@@ -57,7 +57,7 @@ extern "C"{
#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
+#define EXTERNAL_NUM_INTERRUPTS 5
#else
#define EXTERNAL_NUM_INTERRUPTS 2
#endif