summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.