aboutsummaryrefslogtreecommitdiffstats
path: root/gps-track.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-03-08 17:32:12 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-03-12 20:37:57 +0100
commitba2df80f073caf6b426def177b217d1b37954d7f (patch)
tree5dadd74e56ded840e62e82127a9315c8769bfd83 /gps-track.rsc
parent19802c0b6977f9467fada4ace3cab017dd98964b (diff)
parent242ecef012f5208b6fa088a1222d0d5477e5b2ed (diff)
Merge branch 'LogPrint' into next
Diffstat (limited to 'gps-track.rsc')
-rw-r--r--gps-track.rsc10
1 files changed, 5 insertions, 5 deletions
diff --git a/gps-track.rsc b/gps-track.rsc
index c40e2e0..1aeab84 100644
--- a/gps-track.rsc
+++ b/gps-track.rsc
@@ -17,7 +17,7 @@
:global GpsTrackUrl;
:global Identity;
- :global LogPrintExit2;
+ :global LogPrint;
:global ScriptLock;
:global WaitFullyConnected;
@@ -38,13 +38,13 @@
"\"lon\":\"" . ($Gps->"longitude") . "\"," . \
"\"identity\":\"" . $Identity . "\"" . \
"}") as-value;
- $LogPrintExit2 debug $ScriptName ("Sending GPS data in " . $CoordinateFormat . " format: " . \
+ $LogPrint debug $ScriptName ("Sending GPS data in " . $CoordinateFormat . " format: " . \
"lat: " . ($Gps->"latitude") . " " . \
- "lon: " . ($Gps->"longitude")) false;
+ "lon: " . ($Gps->"longitude"));
} on-error={
- $LogPrintExit2 warning $ScriptName ("Failed sending GPS data!") false;
+ $LogPrint warning $ScriptName ("Failed sending GPS data!");
}
} else={
- $LogPrintExit2 debug $ScriptName ("GPS data not valid.") false;
+ $LogPrint debug $ScriptName ("GPS data not valid.");
}
} on-error={ }