From: Keith Packard Date: Thu, 13 Feb 2020 23:38:34 +0000 (-0800) Subject: altosuilib: Put units on GPS altitude and height in info table X-Git-Tag: android-26~5 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=da499044c9d66e42915e3f6429b6b86999b06c2c altosuilib: Put units on GPS altitude and height in info table Signed-off-by: Keith Packard --- diff --git a/altosuilib/AltosInfoTable.java b/altosuilib/AltosInfoTable.java index 09e497a5..6bfe0cf5 100644 --- a/altosuilib/AltosInfoTable.java +++ b/altosuilib/AltosInfoTable.java @@ -201,9 +201,9 @@ public class AltosInfoTable extends JTable implements AltosFlightDisplay, Hierar if (state.gps.lon != AltosLib.MISSING) info_add_deg(1, "Longitude", state.gps.lon, 'E', 'W'); if (state.gps.alt != AltosLib.MISSING) - info_add_row(1, "GPS altitude", "%8.1f", state.gps.alt); + info_add_row(1, "GPS altitude", "%8.1f m", state.gps.alt); if (state.gps_height != AltosLib.MISSING) - info_add_row(1, "GPS height", "%8.1f", state.gps_height); + info_add_row(1, "GPS height", "%8.1f m", state.gps_height); if (state.gps.ground_speed != AltosLib.MISSING && state.gps.course != AltosLib.MISSING) info_add_row(1, "GPS ground speed", "%6.1f m/s %3d°",