summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-11-08 22:17:26 -0800
committerKeith Packard <keithp@keithp.com>2010-11-08 22:17:26 -0800
commita0a92c605e238277c9881545a7226e53b5dbc295 (patch)
treedf08c77f1e5a04d72a4500e1745e4e03dc072deb
parent94f4a50d6430cc8280cbdaa9f39d3cb858d0e077 (diff)
altosui: Fix more calls to AltosPreferences.channel()
Oops. Two more. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--ao-tools/altosui/AltosConfig.java2
-rw-r--r--ao-tools/altosui/AltosEepromDownload.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/ao-tools/altosui/AltosConfig.java b/ao-tools/altosui/AltosConfig.java
index 7b6cd78c..7fecff0e 100644
--- a/ao-tools/altosui/AltosConfig.java
+++ b/ao-tools/altosui/AltosConfig.java
@@ -122,7 +122,7 @@ public class AltosConfig implements Runnable, ActionListener {
void start_serial() throws InterruptedException {
if (remote) {
- serial_line.set_channel(AltosPreferences.channel());
+ serial_line.set_channel(AltosPreferences.channel(device.getSerial()));
serial_line.set_callsign(AltosPreferences.callsign());
serial_line.printf("p\n");
serial_line.flush_input();
diff --git a/ao-tools/altosui/AltosEepromDownload.java b/ao-tools/altosui/AltosEepromDownload.java
index a7f64904..8efc94d2 100644
--- a/ao-tools/altosui/AltosEepromDownload.java
+++ b/ao-tools/altosui/AltosEepromDownload.java
@@ -224,7 +224,7 @@ public class AltosEepromDownload implements Runnable {
public void run () {
if (remote) {
- serial_line.set_channel(AltosPreferences.channel());
+ serial_line.set_channel(AltosPreferences.channel(device.getSerial()));
serial_line.set_callsign(AltosPreferences.callsign());
serial_line.printf("p\nE 0\n");
serial_line.flush_input();