altosui: When device has no valid romconfig, set RF cal to 0
authorKeith Packard <keithp@keithp.com>
Thu, 19 Dec 2013 08:12:21 +0000 (00:12 -0800)
committerKeith Packard <keithp@keithp.com>
Thu, 19 Dec 2013 08:12:21 +0000 (00:12 -0800)
This is intended to signal to the user that no valid value was found
and that they'd best pick something sensible.

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

index 6f9d9dc6eb034a64a1e00898dc945796a28debb2..fa7801257289c2f7577449b54a6bcfecacaeb29b 100644 (file)
@@ -91,7 +91,7 @@ public class AltosRomconfigUI
                c.anchor = GridBagConstraints.LINE_START;
                c.insets = ir;
                c.ipady = 5;
-               radio_calibration_value = new JTextField("1186611");
+               radio_calibration_value = new JTextField("0");
                pane.add(radio_calibration_value, c);
 
                /* Buttons */