From: Keith Packard Date: Sat, 8 Dec 2012 01:38:17 +0000 (-0800) Subject: altos: Fix aprs test to not allow callsign configuration X-Git-Tag: 1.1.9.3~10^2~13 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=4339d5c8e6373119e5377fe5c883b6b0e6ce37f6 altos: Fix aprs test to not allow callsign configuration There's no configuration to take a callsign from... Signed-off-by: Keith Packard --- 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.