From: Keith Packard Date: Tue, 9 Nov 2010 06:10:46 +0000 (-0800) Subject: altosui: Fix channel setting at serial open time X-Git-Tag: debian/0.7.1+70+g9ffc2eb~25 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=94f4a50d6430cc8280cbdaa9f39d3cb858d0e077;ds=sidebyside altosui: Fix channel setting at serial open time Was using the previous non-device-specific preferences API. Signed-off-by: Keith Packard --- 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()); }