aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ];