diff options
author | Bdale Garbee <bdale@gag.com> | 2014-02-13 21:54:46 -0700 |
---|---|---|
committer | Bdale Garbee <bdale@gag.com> | 2014-02-13 21:54:46 -0700 |
commit | e77c24aaaff12669ca6970dfcca770671387f59c (patch) | |
tree | c8929f4a71290e3a3c3b6d717788ae1837b2dffa /altosui/AltosFlightStats.java | |
parent | 85974eadfde6103d297498ee8c4268e28ab008ba (diff) | |
parent | bf268354535a3a7b2e093235e5347ed2a6d809ff (diff) |
Merge branch 'branch-1.3' into debian
Diffstat (limited to 'altosui/AltosFlightStats.java')
-rw-r--r-- | altosui/AltosFlightStats.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/altosui/AltosFlightStats.java b/altosui/AltosFlightStats.java index bf5644c3..0be49c2f 100644 --- a/altosui/AltosFlightStats.java +++ b/altosui/AltosFlightStats.java @@ -22,6 +22,7 @@ import org.altusmetrum.altoslib_3.*; public class AltosFlightStats { double max_height; + double max_gps_height; double max_speed; double max_acceleration; double[] state_speed = new double[Altos.ao_flight_invalid + 1]; @@ -153,6 +154,7 @@ public class AltosFlightStats { max_height = state.max_height(); max_speed = state.max_speed(); max_acceleration = state.max_acceleration(); + max_gps_height = state.max_gps_height(); } if (state.gps != null && state.gps.locked && state.gps.nsat >= 4) { if (state_id <= Altos.ao_flight_pad) { |