From 679c971ea6b6ffb3a64e48e74526d0f9a3357725 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 13 Jun 2023 09:01:06 +0200 Subject: [PATCH] gps-track: wait to be fully connected --- gps-track.rsc | 2 ++ 1 file changed, 2 insertions(+) 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 ];