From 97ab77d548964115e4b41ad5952194fcd1455c96 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 14 Sep 2012 11:13:02 -0700 Subject: altosui: Fix Landed tab units And clean up the whole flight value reporting code base. It would be nice to create a separate class to make this easier; at present there's a bunch of customization embedded in how values are presented in each tab. Reported by: Bdale Garbee Signed-off-by: Keith Packard --- altosui/AltosKML.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'altosui/AltosKML.java') diff --git a/altosui/AltosKML.java b/altosui/AltosKML.java index ff0734b8..6bac1d9c 100644 --- a/altosui/AltosKML.java +++ b/altosui/AltosKML.java @@ -131,8 +131,12 @@ public class AltosKML implements AltosWriter { public void write(AltosRecord record) { AltosGPS gps = record.gps; - if (gps == null) + if (gps == null) { + System.out.printf ("no gps\n"); return; + } + + System.out.printf ("seen %x\n", record.seen); if ((record.seen & (AltosRecord.seen_flight)) == 0) return; if ((record.seen & (AltosRecord.seen_gps_lat)) == 0) -- cgit v1.2.3