From 0e17853c08f77debef3e8cf82e9cdb6a5079fc9b Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 22 Aug 2010 23:06:15 -0700 Subject: [PATCH] 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 --- ao-tools/altosui/AltosEepromDownload.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2