aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/WInterrupts.c
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@arduino.cc>2015-09-01 10:11:43 +0200
committerCristian Maglie <c.maglie@arduino.cc>2015-09-01 10:11:43 +0200
commit82f9359027299e91c43600a23f99a7433e680a37 (patch)
treec964ad0db14c9042225b15bbdb7805a84c36cc68 /cores/arduino/WInterrupts.c
parenta3d66a7dd079d13b7e6d7e6f08fd1a6b2409ef27 (diff)
Added missing #ifdef in WInterrupts.c... (oops)
See #2408
Diffstat (limited to 'cores/arduino/WInterrupts.c')
-rw-r--r--cores/arduino/WInterrupts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cores/arduino/WInterrupts.c b/cores/arduino/WInterrupts.c
index f974ce6..83b762f 100644
--- a/cores/arduino/WInterrupts.c
+++ b/cores/arduino/WInterrupts.c
@@ -61,7 +61,9 @@ static volatile voidFuncPtr intFunc[EXTERNAL_NUM_INTERRUPTS] = {
#if EXTERNAL_NUM_INTERRUPTS > 1
nothing,
#endif
+#if EXTERNAL_NUM_INTERRUPTS > 0
nothing
+#endif
};
// volatile static voidFuncPtr twiIntFunc;