diff options
author | Keith Packard <keithp@keithp.com> | 2014-07-08 23:43:31 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-07-09 00:26:03 -0700 |
commit | 95f3a2825377bdb6737446df051c069d58f42d08 (patch) | |
tree | 7fde373c27520a409a34971c61d30c1f025b40bf /altosui/AltosConfigTD.java | |
parent | 78db9e350db104da87e0fe4b72aa41bf6cf45e1d (diff) |
altosui: Hide inactive altimeter configuration entries
Instead of disabling them, just hide them so that entries that do not
apply to a particular device won't get shown at all.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosConfigTD.java')
-rw-r--r-- | altosui/AltosConfigTD.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/altosui/AltosConfigTD.java b/altosui/AltosConfigTD.java index 397ed3db..4389e49b 100644 --- a/altosui/AltosConfigTD.java +++ b/altosui/AltosConfigTD.java @@ -183,14 +183,12 @@ public class AltosConfigTD implements ActionListener { } synchronized int telemetry_rate() { - System.out.printf("telemetry_rate: %d\n", telemetry_rate.get()); return telemetry_rate.get(); } synchronized void set_telemetry_rate(int new_telemetry_rate){ int rate = telemetry_rate.get(); - System.out.printf("set_telemetry_rate %d\n", new_telemetry_rate); if (rate >= 0) telemetry_rate.set(new_telemetry_rate); } |