projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6b17d27
)
altosui: Fix channel setting at serial open time
author
Keith Packard
<keithp@keithp.com>
Tue, 9 Nov 2010 06:10:46 +0000
(22:10 -0800)
committer
Keith Packard
<keithp@keithp.com>
Tue, 9 Nov 2010 06:10:46 +0000
(22:10 -0800)
Was using the previous non-device-specific preferences API.
Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools/altosui/AltosSerial.java
patch
|
blob
|
history
diff --git
a/ao-tools/altosui/AltosSerial.java
b/ao-tools/altosui/AltosSerial.java
index f65e44d6eb1dac84653b5f325d04f66d2e4cae98..d6848e57b6419c86ce8a32ff97e1399c5a4fc2a5 100644
(file)
--- a/
ao-tools/altosui/AltosSerial.java
+++ b/
ao-tools/altosui/AltosSerial.java
@@
-193,7
+193,7
@@
public class AltosSerial implements Runnable {
print("~\nE 0\n");
flush_output();
set_monitor(monitor_mode);
print("~\nE 0\n");
flush_output();
set_monitor(monitor_mode);
- set_channel(AltosPreferences.channel());
+ set_channel(AltosPreferences.channel(
device.getSerial()
));
set_callsign(AltosPreferences.callsign());
}
set_callsign(AltosPreferences.callsign());
}