projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
abf8299
)
altos: Fix aprs test to not allow callsign configuration
author
Keith Packard
<keithp@keithp.com>
Sat, 8 Dec 2012 01:38:17 +0000
(17:38 -0800)
committer
Keith 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
patch
|
blob
|
history
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)
{
+#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.