summaryrefslogtreecommitdiff
path: root/src/ao_radio.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-07-04 18:03:51 -0700
committerKeith Packard <keithp@keithp.com>2011-07-04 18:03:51 -0700
commitd3c26e534d8df34cfbf29b70cd1b2692493ce150 (patch)
tree4091e85e0d036826b574a73b3bea6dfa70550c72 /src/ao_radio.c
parentc763a3f9cf2bf055e9705ce5ff4bc172f445037d (diff)
altos: teledongle does not need ao_packet_slave.c
TeleDongle doesn't provide slave interfaces, so remove ao_packet_slave from the TD build Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_radio.c')
-rw-r--r--src/ao_radio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ao_radio.c b/src/ao_radio.c
index 01974ba1..4c382bb9 100644
--- a/src/ao_radio.c
+++ b/src/ao_radio.c
@@ -433,7 +433,9 @@ ao_radio_test(void)
mode++;
if ((mode & 2) && !radio_on) {
ao_set_monitor(0);
+#if PACKET_HAS_SLAVE
ao_packet_slave_stop();
+#endif
ao_radio_get(0xff);
RFST = RFST_STX;
radio_on = 1;