From cc5f2a52b4561c74caad221ec65c91539d958664 Mon Sep 17 00:00:00 2001 From: Fede85 Date: Mon, 13 May 2013 21:22:59 +0200 Subject: Added support to INT6 on Leonardo. Fixes #988 --- cores/arduino/wiring_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cores/arduino/wiring_private.h') 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 -- cgit v1.2.3-18-g5258