altoslib: Don't lose gps_height value between GPS samples
[fw/altos] / altoslib / AltosState.java
index 6d52dc40619931ca4ede8b8bae651d8c8f0115df..758fd6366b7b7f40d1b3967bcc24bdcb8f4d9313 100644 (file)
@@ -838,7 +838,6 @@ public class AltosState implements Cloneable {
        void update_gps() {
                elevation = 0;
                range = -1;
-               gps_height = 0;
 
                if (gps == null)
                        return;