summaryrefslogtreecommitdiff
path: root/altosui/AltosConfigTD.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-04-14 13:52:37 -0700
committerKeith Packard <keithp@keithp.com>2012-04-14 14:04:29 -0700
commitb4ab9f5dfa9f2a50e0528acf0a1fdeaa1f9bc523 (patch)
tree76152920514ac98a07b585ec778cbbb88c8aea87 /altosui/AltosConfigTD.java
parent5c8af6d35ebfc8fd896dfbf9928ec8f9dbfa531f (diff)
altosui: Read frequency from device while configuring ground station
Missed this when adding the TD config UI. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosConfigTD.java')
-rw-r--r--altosui/AltosConfigTD.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/altosui/AltosConfigTD.java b/altosui/AltosConfigTD.java
index 68f746b2..d3c452e1 100644
--- a/altosui/AltosConfigTD.java
+++ b/altosui/AltosConfigTD.java
@@ -144,6 +144,8 @@ public class AltosConfigTD implements ActionListener {
get_int(line, "Radio channel:", radio_channel);
if (get_int(line, "Radio cal:", radio_calibration))
System.out.printf("got radio cal %d\n", radio_calibration.get());
+ if (get_int(line, "Frequency:", radio_frequency))
+ System.out.printf("got radio freq %d\n", radio_frequency.get());
get_int(line, "Radio setting:", radio_setting);
get_string(line,"software-version", version);
get_string(line,"product", product);