aboutsummaryrefslogtreecommitdiffstats
path: root/mode-button-scheduler
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-09-13 22:07:58 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-09-13 22:07:58 +0200
commitbd46c2d63b940ee0777cd2469517be5319330586 (patch)
tree5415464d9e8fdf2013b02689f24af3cde9ca1825 /mode-button-scheduler
parent95794d03672088162cebdab866a73391fca05a63 (diff)
mode-button-scheduler: sync with sms-action
Diffstat (limited to 'mode-button-scheduler')
-rw-r--r--mode-button-scheduler7
1 files changed, 4 insertions, 3 deletions
diff --git a/mode-button-scheduler b/mode-button-scheduler
index 85db78a..c421f74 100644
--- a/mode-button-scheduler
+++ b/mode-button-scheduler
@@ -7,11 +7,12 @@
:global "mode-button";
:local count ($"mode-button"->"count");
-:local action ($"mode-button"->[ :tostr $count ]);
-:local parsed [ :parse $action ];
+:local code ($"mode-button"->[ :tostr $count ]);
+:local parsed [ :parse $code ];
:set ($"mode-button"->"count") 0;
/ system scheduler remove mode-button-scheduler;
-:log info ("Acting on " . $count . " mode-button presses: " . $action);
+:log info ("Acting on " . $count . " mode-button presses: " . $code);
+:delay 1s;
$parsed;