diff options
author | Keith Packard <keithp@keithp.com> | 2010-11-08 22:10:46 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-11-08 22:10:46 -0800 |
commit | 94f4a50d6430cc8280cbdaa9f39d3cb858d0e077 (patch) | |
tree | e6944de90381e413d310f555515c470ce48401c9 | |
parent | 6b17d276271faa8a420a1c8f6be17faaa0c7043c (diff) |
altosui: Fix channel setting at serial open time
Was using the previous non-device-specific preferences API.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | ao-tools/altosui/AltosSerial.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ao-tools/altosui/AltosSerial.java b/ao-tools/altosui/AltosSerial.java index f65e44d6..d6848e57 100644 --- 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); - set_channel(AltosPreferences.channel()); + set_channel(AltosPreferences.channel(device.getSerial())); set_callsign(AltosPreferences.callsign()); } |