projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/test: Get test code working again after restructuring
[fw/altos]
/
src
/
test
/
ao_aprs_test.c
diff --git
a/src/test/ao_aprs_test.c
b/src/test/ao_aprs_test.c
index 941bf95471d1c14abfa891cd434ba951127f136c..f9cda60b183f99f8639a034217de2b6b0769b51a 100644
(file)
--- a/
src/test/ao_aprs_test.c
+++ b/
src/test/ao_aprs_test.c
@@
-60,6
+60,7
@@
ao_aprs_bit(uint8_t bit)
void
ao_radio_send_aprs(ao_radio_fill_func fill);
void
ao_radio_send_aprs(ao_radio_fill_func fill);
+#if 0
static void
aprs_bit_debug(uint8_t tx_bit)
{
static void
aprs_bit_debug(uint8_t tx_bit)
{
@@
-71,8
+72,10
@@
aprs_byte_debug(uint8_t tx_byte)
{
fprintf(stderr, "byte %02x\n", tx_byte);
}
{
fprintf(stderr, "byte %02x\n", tx_byte);
}
+
#define APRS_BIT_DEBUG(x) aprs_bit_debug(x)
#define APRS_BYTE_DEBUG(y) aprs_byte_debug(y)
#define APRS_BIT_DEBUG(x) aprs_bit_debug(x)
#define APRS_BYTE_DEBUG(y) aprs_byte_debug(y)
+#endif
#include <ao_aprs.c>
#include <ao_aprs.c>
@@
-103,6
+106,7
@@
aprs_byte_debug(uint8_t tx_byte)
*/
*/
+#if 0
static void
audio_gap(int secs)
{
static void
audio_gap(int secs)
{
@@
-113,6
+117,7
@@
audio_gap(int secs)
ao_aprs_bit(0);
#endif
}
ao_aprs_bit(0);
#endif
}
+#endif
// This is where we go after reset.
int main(int argc, char **argv)
// This is where we go after reset.
int main(int argc, char **argv)