We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdbefdd commit d03d29cCopy full SHA for d03d29c
x7_x9lite/GPSx9L.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