From: Keith Packard Date: Mon, 23 Aug 2010 06:06:15 +0000 (-0700) Subject: altosui: Set callsign when fetching eeprom data over the air X-Git-Tag: debian/0.6+373+gcf65c6b~38 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=0e17853c08f77debef3e8cf82e9cdb6a5079fc9b;hp=953bc3438b10b21f3d65d292356c4ab2de23cddd altosui: Set callsign when fetching eeprom data over the air The updated firmware places the callsign in each packet to comply with regulations, this ensures that TeleDongle has the current callsign configured. Signed-off-by: Keith Packard --- diff --git a/ao-tools/altosui/AltosEepromDownload.java b/ao-tools/altosui/AltosEepromDownload.java index c2a8d25e..02a71118 100644 --- a/ao-tools/altosui/AltosEepromDownload.java +++ b/ao-tools/altosui/AltosEepromDownload.java @@ -225,6 +225,7 @@ public class AltosEepromDownload implements Runnable { if (remote) { serial_line.printf("m 0\n"); serial_line.set_channel(AltosPreferences.channel()); + serial_line.set_callsign(AltosPreferences.callsign()); serial_line.printf("p\n"); } @@ -259,7 +260,6 @@ public class AltosEepromDownload implements Runnable { if (device != null) { try { serial_line.open(device); - String name = device.getName(); if (!device.matchProduct(AltosDevice.TeleMetrum)) remote = true; eeprom_thread = new Thread(this);