summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/Alert_Window_Mode/Alert_Window_Mode.ino2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Alert_Window_Mode/Alert_Window_Mode.ino b/examples/Alert_Window_Mode/Alert_Window_Mode.ino
index 760910a..8d9e964 100644
--- a/examples/Alert_Window_Mode/Alert_Window_Mode.ino
+++ b/examples/Alert_Window_Mode/Alert_Window_Mode.ino
@@ -146,6 +146,6 @@ void loop() {
}
void outOfLimitAlert(){
- detachInterrupt(2);
+ detachInterrupt(interruptPin);
outOfLimit = true;
}