From da499044c9d66e42915e3f6429b6b86999b06c2c Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 13 Feb 2020 15:38:34 -0800 Subject: [PATCH] altosuilib: Put units on GPS altitude and height in info table Signed-off-by: Keith Packard --- altosuilib/AltosInfoTable.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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°", -- 2.30.2