Fixed missing NOT_AN_INTERRUPT constant in digitalPinToInterrupt()

Fixes #2379
This commit is contained in:
Cristian Maglie 2014-10-21 16:55:37 +02:00
parent bd4784f8a7
commit d62d063082
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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