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 ed5ad426dd
commit 58b6fd4789
3 changed files with 7 additions and 0 deletions

View File

@ -5,6 +5,9 @@ ARDUINO 1.0.7
* Backported GSM from IDE 1.5.x * Backported GSM from IDE 1.5.x
* EthernetClien: use IANA recommended ephemeral port range, 49152-65535 (Jack Christensen, cifer-lee) * EthernetClien: use IANA recommended ephemeral port range, 49152-65535 (Jack Christensen, cifer-lee)
[core]
* Fixed missing NOT_AN_INTERRUPT constant in digitalPinToInterrupt() macro
ARDUINO 1.0.6 - 2014.09.16 ARDUINO 1.0.6 - 2014.09.16
[core] [core]

View File

@ -171,6 +171,8 @@ extern const uint8_t PROGMEM digital_pin_to_timer_PGM[];
#define NOT_A_PIN 0 #define NOT_A_PIN 0
#define NOT_A_PORT 0 #define NOT_A_PORT 0
#define NOT_AN_INTERRUPT -1
#ifdef ARDUINO_MAIN #ifdef ARDUINO_MAIN
#define PA 1 #define PA 1
#define PB 2 #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_PIN 0
#define NOT_A_PORT 0 #define NOT_A_PORT 0
#define NOT_AN_INTERRUPT -1
#ifdef ARDUINO_MAIN #ifdef ARDUINO_MAIN
#define PA 1 #define PA 1
#define PB 2 #define PB 2