aboutsummaryrefslogtreecommitdiff
path: root/cmd/runcmd/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/runcmd/main.go')
-rw-r--r--cmd/runcmd/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/runcmd/main.go b/cmd/runcmd/main.go
index e01bb04..7832742 100644
--- a/cmd/runcmd/main.go
+++ b/cmd/runcmd/main.go
@@ -54,7 +54,7 @@ func main() {
}
defer dev.Close()
- state := redbutton.Poll(dev)
+ state := redbutton.Poll(dev, redbutton.PollInterval)
for stateFn := Init; stateFn != nil; {
stateFn = stateFn(<-state)
}