aboutsummaryrefslogtreecommitdiffstats
path: root/mode-button
diff options
context:
space:
mode:
Diffstat (limited to 'mode-button')
-rw-r--r--mode-button3
1 files changed, 3 insertions, 0 deletions
diff --git a/mode-button b/mode-button
index 35c0899..cd94919 100644
--- a/mode-button
+++ b/mode-button
@@ -6,6 +6,9 @@
# act on multiple mode and reset button presses
# https://git.eworm.de/cgit/routeros-scripts/about/doc/mode-button.md
+:global GlobalFunctionsReady;
+:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
+
:global ModeButton;
:global LogPrintExit;