From: Keith Packard Date: Thu, 19 Dec 2013 08:12:21 +0000 (-0800) Subject: altosui: When device has no valid romconfig, set RF cal to 0 X-Git-Tag: 1.3~4 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=9f95ffbad918a73cfd5460d6ce037d680465c35d;hp=a04c1dd5df76c9127615bc797a9d9f764eec1234 altosui: When device has no valid romconfig, set RF cal to 0 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 --- diff --git a/altosui/AltosRomconfigUI.java b/altosui/AltosRomconfigUI.java index 6f9d9dc6..fa780125 100644 --- a/altosui/AltosRomconfigUI.java +++ b/altosui/AltosRomconfigUI.java @@ -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 */