aboutsummaryrefslogtreecommitdiff
path: root/cores
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2013-10-01 18:15:31 +0200
committerCristian Maglie <c.maglie@bug.st>2013-10-31 12:44:24 +0100
commit9b4562c4c53f634d61eb89f210a599d376d44aae (patch)
tree38ff173d889e910385a3d9d54c2c158a0e2005d6 /cores
parentd9f140b386d30c486a3119871838126834c4a133 (diff)
Using NOT_AN_INTERRUPT defined constant
Diffstat (limited to 'cores')
-rw-r--r--cores/arduino/Arduino.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cores/arduino/Arduino.h b/cores/arduino/Arduino.h
index 5596c14..de1886d 100644
--- a/cores/arduino/Arduino.h
+++ b/cores/arduino/Arduino.h
@@ -151,6 +151,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