diff options
author | Keith Packard <keithp@keithp.com> | 2011-03-27 00:13:38 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-03-27 00:13:38 -0700 |
commit | 067b21993e9a97fceadb355e571e5610535336a8 (patch) | |
tree | 2be8ffa4bf6763ebc969865f67f031b88fa0f4cc /altosui/AltosConfigUI.java | |
parent | 91a75279b6d306ba9d068a28c64917d5312122e8 (diff) |
altosui: Allow radio channel to be configured over the radio link
TeleMini/TeleNano can't be configured via USB, so we need to allow
the radio channel to be set over the radio link.
This change carefully sets the new radio channel, disables the remote
link and then sets the teledongle channel to the new value and brings
the link back up.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosConfigUI.java')
-rw-r--r-- | altosui/AltosConfigUI.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/altosui/AltosConfigUI.java b/altosui/AltosConfigUI.java index e09eab25..f835ee2e 100644 --- a/altosui/AltosConfigUI.java +++ b/altosui/AltosConfigUI.java @@ -252,8 +252,6 @@ public class AltosConfigUI radio_channel_value = new JComboBox(radio_channel_values); radio_channel_value.setEditable(false); radio_channel_value.addItemListener(this); - if (remote) - radio_channel_value.setEnabled(false); pane.add(radio_channel_value, c); /* Radio Calibration */ |