gps-track: wait to be fully connected

This commit is contained in:
Christian Hesse 2023-06-13 09:01:06 +02:00
parent db223429b7
commit 679c971ea6

View file

@ -15,8 +15,10 @@
:global LogPrintExit2; :global LogPrintExit2;
:global ScriptLock; :global ScriptLock;
:global WaitFullyConnected;
$ScriptLock $0; $ScriptLock $0;
$WaitFullyConnected;
:local CoordinateFormat [ /system/gps/get coordinate-format ]; :local CoordinateFormat [ /system/gps/get coordinate-format ];
:local Gps [ /system/gps/monitor once as-value ]; :local Gps [ /system/gps/monitor once as-value ];