projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Fix aprs test to not allow callsign configuration
[fw/altos]
/
src
/
drivers
/
ao_aprs.c
diff --git
a/src/drivers/ao_aprs.c
b/src/drivers/ao_aprs.c
index e3abe52eff9758eb0e6984d5a7888591c3a38d16..93c4af3fc74a36eef3cef66da4494125b625d180 100644
(file)
--- 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)
{
static void
tncSetCallsign(void)
{
+#ifndef AO_APRS_TEST
uint8_t i;
for (i = 0; i < TNC_CALLSIGN_LEN; i++) {
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;
}
for (; i < TNC_CALLSIGN_LEN; i++)
TNC_AX25_HEADER[TNC_CALLSIGN_OFF + i] = ' ' << 1;
-
+#endif
}
/// The next bit to transmit.
}
/// The next bit to transmit.