diff options
author | Cristian Maglie <c.maglie@bug.st> | 2014-10-21 16:55:37 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@bug.st> | 2014-10-21 16:55:37 +0200 |
commit | d62d06308248e7d5d32df1a4c7a3151939984d92 (patch) | |
tree | 8a80f73e89c0219f64477d21550db0fc10a618f8 /cores/arduino | |
parent | bd4784f8a7a76c26e61ec5ea42b8560adbdf60fd (diff) |
Fixed missing NOT_AN_INTERRUPT constant in digitalPinToInterrupt()
Fixes #2379
Diffstat (limited to 'cores/arduino')
-rwxr-xr-x | cores/arduino/Arduino.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cores/arduino/Arduino.h b/cores/arduino/Arduino.h index 8673ab8..d4a22a6 100755 --- a/cores/arduino/Arduino.h +++ b/cores/arduino/Arduino.h @@ -171,6 +171,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 |