From 4339d5c8e6373119e5377fe5c883b6b0e6ce37f6 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 7 Dec 2012 17:38:17 -0800 Subject: [PATCH] altos: Fix aprs test to not allow callsign configuration There's no configuration to take a callsign from... Signed-off-by: Keith Packard --- src/drivers/ao_aprs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- 2.30.2