1
0
mirror of https://github.com/eworm-de/routeros-scripts.git synced 2024-05-11 05:55:19 +00:00

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 ScriptLock;
:global WaitFullyConnected;
$ScriptLock $0;
$WaitFullyConnected;
:local CoordinateFormat [ /system/gps/get coordinate-format ];
:local Gps [ /system/gps/monitor once as-value ];