altosui: Read frequency from device while configuring ground station
authorKeith Packard <keithp@keithp.com>
Sat, 14 Apr 2012 20:52:37 +0000 (13:52 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 14 Apr 2012 21:04:29 +0000 (14:04 -0700)
Missed this when adding the TD config UI.

Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosConfigTD.java

index 68f746b23aea572da8ce679a4199b31f3839b253..d3c452e1ceb4c6ee037c14513095a2c19cb79257 100644 (file)
@@ -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);