summaryrefslogtreecommitdiff
path: root/altosui/AltosFlightUI.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-07-06 21:38:57 -0700
committerKeith Packard <keithp@keithp.com>2011-07-06 21:38:57 -0700
commit8f80f5705d64469bcfb00ff11aee68364edb271b (patch)
tree9db032cfcb647951259c9ff7f0deabea682271cf /altosui/AltosFlightUI.java
parent80ca066a825646f833ca609190c76c5252118d9a (diff)
altosui: Don't show missing igniter and gps values
The new telemetry stuff leaves state.gps always set (but empty), which seems fine, we just need to look at state.gps.connected to see if there's a GPS receiver on board. For TeleNano, we also want to hide the igniter status fields as they won't have any data present. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosFlightUI.java')
-rw-r--r--altosui/AltosFlightUI.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/altosui/AltosFlightUI.java b/altosui/AltosFlightUI.java
index 5f1fc678..9536c4bb 100644
--- a/altosui/AltosFlightUI.java
+++ b/altosui/AltosFlightUI.java
@@ -156,8 +156,8 @@ public class AltosFlightUI extends JFrame implements AltosFlightDisplay {
// Telemetry format menu
telemetries = new JComboBox();
- telemetries.addItem("Legacy TeleMetrum");
- telemetries.addItem("Split Telemetry");
+ telemetries.addItem("Original TeleMetrum Telemetry");
+ telemetries.addItem("Standard AltOS Telemetry");
int telemetry = 1;
telemetry = AltosPreferences.telemetry(serial);
if (telemetry > Altos.ao_telemetry_split)