Skip to content

Commit fdbefdd

Browse files
authored
Update GPSxT.lua
1 parent 58b0d48 commit fdbefdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TBS_Tango/GPSxT.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ local function background()
199199
gpsDtH = string.format("%.2f",gpsDtH)
200200

201201
--total distance traveled
202-
if (gpsPrevLAT ~= 0) and (gpsPrevLON ~= 0) then
202+
if (gpsPrevLAT ~= 0) and (gpsPrevLON ~= 0) and (gpsLAT ~= 0) and (gpsLON ~= 0)then
203203
--print("GPS_Debug_Prev", gpsPrevLAT,gpsPrevLON)
204204
--print("GPS_Debug_curr", gpsLAT,gpsLON)
205205

0 commit comments

Comments
 (0)