altos: Fix aprs test to not allow callsign configuration
authorKeith Packard <keithp@keithp.com>
Sat, 8 Dec 2012 01:38:17 +0000 (17:38 -0800)
committerKeith Packard <keithp@keithp.com>
Sat, 8 Dec 2012 01:38:17 +0000 (17:38 -0800)
There's no configuration to take a callsign from...

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_aprs.c

index e3abe52..93c4af3 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.