We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58b0d48 commit fdbefddCopy full SHA for fdbefdd
TBS_Tango/GPSxT.lua
@@ -199,7 +199,7 @@ local function background()
199
gpsDtH = string.format("%.2f",gpsDtH)
200
201
--total distance traveled
202
- if (gpsPrevLAT ~= 0) and (gpsPrevLON ~= 0) then
+ if (gpsPrevLAT ~= 0) and (gpsPrevLON ~= 0) and (gpsLAT ~= 0) and (gpsLON ~= 0)then
203
--print("GPS_Debug_Prev", gpsPrevLAT,gpsPrevLON)
204
--print("GPS_Debug_curr", gpsLAT,gpsLON)
205
0 commit comments