From d62d06308248e7d5d32df1a4c7a3151939984d92 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Tue, 21 Oct 2014 16:55:37 +0200 Subject: Fixed missing NOT_AN_INTERRUPT constant in digitalPinToInterrupt() Fixes #2379 --- cores/robot/Arduino.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cores/robot/Arduino.h') diff --git a/cores/robot/Arduino.h b/cores/robot/Arduino.h index 93a3525..5da518f 100755 --- a/cores/robot/Arduino.h +++ b/cores/robot/Arduino.h @@ -168,6 +168,8 @@ extern const uint8_t PROGMEM digital_pin_to_timer_PGM[]; #define NOT_A_PIN 0 #define NOT_A_PORT 0 +#define NOT_AN_INTERRUPT -1 + #ifdef ARDUINO_MAIN #define PA 1 #define PB 2 -- cgit v1.2.3-18-g5258