Fixed missing NOT_AN_INTERRUPT constant in digitalPinToInterrupt()
Fixes #2379
This commit is contained in:
parent
bd4784f8a7
commit
d62d063082
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue