altosui: Only update GPS data when new GPS information arrives
[fw/altos] / altosui / AltosTelemetryRecordLocation.java
index 76bd106e330d07538be623847e206e25c5fa80c1..80db454de5af1357d8117373de7a160a188a90dc 100644 (file)
@@ -85,6 +85,7 @@ public class AltosTelemetryRecordLocation extends AltosTelemetryRecordRaw {
                        next.gps.hdop = hdop;
                        next.gps.vdop = vdop;
                        next.seen |= AltosRecord.seen_gps_time | AltosRecord.seen_gps_lat | AltosRecord.seen_gps_lon;
+                       next.new_gps = true;
                }
 
                return next;