altos: Fix aprs test to not allow callsign configuration
[fw/altos] / src / drivers / ao_aprs.c
index e3abe52eff9758eb0e6984d5a7888591c3a38d16..93c4af3fc74a36eef3cef66da4494125b625d180 100644 (file)
@@ -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.