altoslib: Report whether GPS data contains new location/sat info
[fw/altos] / altoslib / AltosEepromRecord.java
index 43e8ea4dbeccefa323e7ad273f0029c1750e8313..0e1c8d99f6bef173e0f223d4aef4ac7804b44ed0 100644 (file)
@@ -12,7 +12,7 @@
  * General Public License for more details.
  */
 
-package org.altusmetrum.altoslib_12;
+package org.altusmetrum.altoslib_13;
 
 public abstract class AltosEepromRecord implements Comparable<AltosEepromRecord> {
 
@@ -106,7 +106,7 @@ public abstract class AltosEepromRecord implements Comparable<AltosEepromRecord>
                if (!AltosLib.is_gps_cmd(cmd())) {
                        AltosGPS gps = listener.temp_gps();
                        if (gps != null)
-                               listener.set_gps(gps);
+                               listener.set_gps(gps, true, true);
                }
        }