summaryrefslogtreecommitdiff
path: root/altosui/AltosKML.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-09-14 11:13:02 -0700
committerKeith Packard <keithp@keithp.com>2012-09-14 11:13:02 -0700
commit97ab77d548964115e4b41ad5952194fcd1455c96 (patch)
tree7bb8d0020050082eb8bf875cc1775d1bc7fcef6c /altosui/AltosKML.java
parent43e646657502f6162fa02f37fd2bd5aa3e29a1a8 (diff)
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 <bdale@gag.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosKML.java')
-rw-r--r--altosui/AltosKML.java6
1 files changed, 5 insertions, 1 deletions
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)