We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d03d29c commit 958ff73Copy full SHA for 958ff73
x9/GPSx9.lua
@@ -215,7 +215,7 @@ local function background()
215
gpsDtH = string.format("%.2f",gpsDtH)
216
217
--total distance traveled
218
- if (gpsPrevLAT ~= 0) and (gpsPrevLON ~= 0) then
+ if (gpsPrevLAT ~= 0) and (gpsPrevLON ~= 0) and (gpsLAT ~= 0) and (gpsLON ~= 0)then
219
--print("GPS_Debug_Prev", gpsPrevLAT,gpsPrevLON)
220
--print("GPS_Debug_curr", gpsLAT,gpsLON)
221
0 commit comments