summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-12-07 17:38:17 -0800
committerKeith Packard <keithp@keithp.com>2012-12-07 17:38:17 -0800
commit4339d5c8e6373119e5377fe5c883b6b0e6ce37f6 (patch)
tree59118664aceae839ccf7e2c34729605a44eda64d
parentabf82991b8e69754ebc4857ce78ac4a4b01f16e4 (diff)
altos: Fix aprs test to not allow callsign configuration
There's no configuration to take a callsign from... Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/drivers/ao_aprs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/ao_aprs.c b/src/drivers/ao_aprs.c
index e3abe52e..93c4af3f 100644
--- a/src/drivers/ao_aprs.c
+++ b/src/drivers/ao_aprs.c
@@ -265,6 +265,7 @@ static uint8_t TNC_AX25_HEADER[] = {
static void
tncSetCallsign(void)
{
+#ifndef AO_APRS_TEST
uint8_t i;
for (i = 0; i < TNC_CALLSIGN_LEN; i++) {
@@ -274,7 +275,7 @@ tncSetCallsign(void)
}
for (; i < TNC_CALLSIGN_LEN; i++)
TNC_AX25_HEADER[TNC_CALLSIGN_OFF + i] = ' ' << 1;
-
+#endif
}
/// The next bit to transmit.