summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Beattie <mike@ethernal.org>2012-09-14 13:16:16 +1200
committerMike Beattie <mike@ethernal.org>2012-09-14 13:16:16 +1200
commitd3d69bdecfcb45d1e3a8c6b10c80eef1afcc2310 (patch)
treeffad0828c7a541af8ef0a4280a4894cbe3754023
parentc9fa8faabb6f7fb59714c42e1029ce3d71c52ff8 (diff)
altosui: comment out/remove dead code
Signed-off-by: Mike Beattie <mike@ethernal.org>
-rw-r--r--altosui/AltosGraphUI.java2
-rw-r--r--altosui/AltosInfoTable.java3
2 files changed, 3 insertions, 2 deletions
diff --git a/altosui/AltosGraphUI.java b/altosui/AltosGraphUI.java
index f2addfd3..cb8e3d20 100644
--- a/altosui/AltosGraphUI.java
+++ b/altosui/AltosGraphUI.java
@@ -182,8 +182,6 @@ public class AltosGraphUI extends AltosFrame
super(String.format("Altos Graph %s", name));
AltosDataPointReader reader = new AltosDataPointReader (records);
- if (reader == null)
- return;
if (reader.has_accel)
init(reader, records, 0);
diff --git a/altosui/AltosInfoTable.java b/altosui/AltosInfoTable.java
index d578f2d2..86e02ab1 100644
--- a/altosui/AltosInfoTable.java
+++ b/altosui/AltosInfoTable.java
@@ -145,6 +145,7 @@ public class AltosInfoTable extends JTable {
info_add_row(1, "GPS height", "%6.0f", state.gps_height);
/* The SkyTraq GPS doesn't report these values */
+ /*
if (false) {
info_add_row(1, "GPS ground speed", "%8.1f m/s %3d°",
state.gps.ground_speed,
@@ -154,6 +155,8 @@ public class AltosInfoTable extends JTable {
info_add_row(1, "GPS error", "%6d m(h)%3d m(v)",
state.gps.h_error, state.gps.v_error);
}
+ */
+
info_add_row(1, "GPS hdop", "%8.1f", state.gps.hdop);
if (state.npad > 0) {