projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2db6b0f
)
altosui: Radio channel gets set to zero by altos when frequency is set
author
Keith Packard
<keithp@keithp.com>
Sat, 7 Apr 2012 07:21:03 +0000
(
00:21
-0700)
committer
Keith Packard
<keithp@keithp.com>
Sat, 7 Apr 2012 07:21:03 +0000
(
00:21
-0700)
Just remember what the channe is going to get set to.
Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosConfig.java
patch
|
blob
|
history
diff --git
a/altosui/AltosConfig.java
b/altosui/AltosConfig.java
index 8eb71e1f8bb3b3d380ae3e2fa8e8426ddf987b3f..bb2665c2876eb7c1af9332614557fa47920f965e 100644
(file)
--- a/
altosui/AltosConfig.java
+++ b/
altosui/AltosConfig.java
@@
-397,6
+397,7
@@
public class AltosConfig implements ActionListener {
if (frequency > 0) {
radio_frequency.set((int) Math.floor (freq * 1000 + 0.5));
+ radio_channel.set(0);
} else if (setting > 0) {
radio_setting.set(AltosConvert.radio_frequency_to_setting(freq,
radio_calibration.get()));