summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-08-22 23:06:15 -0700
committerKeith Packard <keithp@keithp.com>2010-08-22 23:06:15 -0700
commit0e17853c08f77debef3e8cf82e9cdb6a5079fc9b (patch)
treeb4d264a0ccf338b11adc4ca03c7542a4fb31ba34
parent953bc3438b10b21f3d65d292356c4ab2de23cddd (diff)
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 <keithp@keithp.com>
-rw-r--r--ao-tools/altosui/AltosEepromDownload.java2
1 files changed, 1 insertions, 1 deletions
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);