diff options
author | Keith Packard <keithp@keithp.com> | 2017-05-28 16:53:43 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-05-28 16:53:43 -0700 |
commit | 4c5acb57d7ac1abec7bb4cda9dc88c2a19767a2d (patch) | |
tree | 51d3c1b53684264d7e6b1e2f424a8e9d5088a39c /altosuilib/AltosFlightStatsTable.java | |
parent | b3cd7590f35babc346ba245d32d6290f22b2a13f (diff) |
altoslib,altosuilib: Remove stale source files
These aren't built any longer
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosuilib/AltosFlightStatsTable.java')
-rw-r--r-- | altosuilib/AltosFlightStatsTable.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/altosuilib/AltosFlightStatsTable.java b/altosuilib/AltosFlightStatsTable.java index beda38bf..70a56110 100644 --- a/altosuilib/AltosFlightStatsTable.java +++ b/altosuilib/AltosFlightStatsTable.java @@ -194,10 +194,12 @@ public class AltosFlightStatsTable extends JComponent implements AltosFontListen if (stats.state_start[AltosLib.ao_flight_boost] < stats.state_start[AltosLib.ao_flight_landed]) new FlightStat(layout, y++, "Flight time", String.format("%6.1f s", stats.landed_time - stats.boost_time)); - if (stats.has_gps) { + if (stats.pad_lat != AltosLib.MISSING) { new FlightStat(layout, y++, "Pad location", pos(stats.pad_lat,"N","S"), pos(stats.pad_lon,"E","W")); + } + if (stats.lat != AltosLib.MISSING) { new FlightStat(layout, y++, "Last reported location", pos(stats.lat,"N","S"), pos(stats.lon,"E","W")); |