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:
46f2a75
)
altos/test: Make aprs test code compile again
author
Keith Packard
<keithp@keithp.com>
Tue, 10 Mar 2015 15:32:20 +0000
(09:32 -0600)
committer
Keith Packard
<keithp@keithp.com>
Tue, 10 Mar 2015 15:32:20 +0000
(09:32 -0600)
Adding the compressed/uncompressed config option broke the APRS test harness.
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 2e977612809ddbe4c41333486e85f25f3aa0f569..a8016673a0fde1b4450a3ed2431fb91c05d0ca60 100644
(file)
--- a/
src/drivers/ao_aprs.c
+++ b/
src/drivers/ao_aprs.c
@@
-719,7
+719,13
@@
static int tncPositionPacket(void)
buf = tncBuffer;
+#ifdef AO_APRS_TEST
+#define AO_APRS_FORMAT_COMPRESSED 0
+#define AO_APRS_FORMAT_UNCOMPRESSED 1
+ switch (AO_APRS_FORMAT_COMPRESSED) {
+#else
switch (ao_config.aprs_format) {
+#endif
case AO_APRS_FORMAT_COMPRESSED:
default:
{