summaryrefslogtreecommitdiff
path: root/peripheral/libmraa/examples/javascript/isr.js
diff options
context:
space:
mode:
Diffstat (limited to 'peripheral/libmraa/examples/javascript/isr.js')
-rw-r--r--peripheral/libmraa/examples/javascript/isr.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/peripheral/libmraa/examples/javascript/isr.js b/peripheral/libmraa/examples/javascript/isr.js
index 9abcb1f..d400c0d 100644
--- a/peripheral/libmraa/examples/javascript/isr.js
+++ b/peripheral/libmraa/examples/javascript/isr.js
@@ -8,9 +8,3 @@ function h() {
x = new m.Gpio(14)
x.isr(m.EDGE_BOTH, h)
-
-setInterval(function() {
- // It's important to refer to our GPIO context here,
- // otherwise it will be garbage-collected
- console.log("Waiting for an interrupt at GPIO pin " + x.getPin() + "...")
-}, 10000)