aboutsummaryrefslogtreecommitdiffstats
path: root/gps-track.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-06-13 09:01:06 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-06-13 09:07:57 +0200
commit679c971ea6b6ffb3a64e48e74526d0f9a3357725 (patch)
tree0e6160c2b3ea48405ee1a000962d339da3957e46 /gps-track.rsc
parentdb223429b7a3cdda1549a6b039dfd66b59415f85 (diff)
gps-track: wait to be fully connected
Diffstat (limited to 'gps-track.rsc')
-rw-r--r--gps-track.rsc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gps-track.rsc b/gps-track.rsc
index c601e04..29d2572 100644
--- a/gps-track.rsc
+++ b/gps-track.rsc
@@ -15,8 +15,10 @@
:global LogPrintExit2;
:global ScriptLock;
+:global WaitFullyConnected;
$ScriptLock $0;
+$WaitFullyConnected;
:local CoordinateFormat [ /system/gps/get coordinate-format ];
:local Gps [ /system/gps/monitor once as-value ];