diff options
author | Keith Packard <keithp@keithp.com> | 2010-08-21 17:57:31 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-08-21 17:57:31 -0700 |
commit | e1463d8e265dfd42c824d90088cd2a51b4cf8131 (patch) | |
tree | 4e19ae1bd45f7ff71e032e44f360e00452e97015 /ao-tools/altosui/AltosSerial.java | |
parent | 09252ec22d58e946494e4ca2cf367bf3bbe1cc50 (diff) |
altosui: Make teledongle callsign configurable
Teledongle uses the callsign in packet mode; this provides a way to
set that.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/altosui/AltosSerial.java')
-rw-r--r-- | ao-tools/altosui/AltosSerial.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ao-tools/altosui/AltosSerial.java b/ao-tools/altosui/AltosSerial.java index efa63f68..ba00b55e 100644 --- a/ao-tools/altosui/AltosSerial.java +++ b/ao-tools/altosui/AltosSerial.java @@ -154,6 +154,11 @@ public class AltosSerial implements Runnable { printf("m 0\nc r %d\nm 1\n", channel); } + public void set_callsign(String callsign) { + if (altos != null) + printf ("c c %s\n", callsign); + } + public AltosSerial() { altos = null; input_thread = null; |