projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Disable telefire 'pad' listener when testing radio
[fw/altos]
/
src
/
cc1111
/
ao_radio.c
diff --git
a/src/cc1111/ao_radio.c
b/src/cc1111/ao_radio.c
index 2071c47a432cae2c4f8d3c628fea19e8578a9c34..46b2362d8b19e5a5245ca8b680a744ced8625ea7 100644
(file)
--- a/
src/cc1111/ao_radio.c
+++ b/
src/cc1111/ao_radio.c
@@
-16,6
+16,9
@@
*/
#include "ao.h"
*/
#include "ao.h"
+#if HAS_PAD
+#include <ao_pad.h>
+#endif
/* Values from SmartRF® Studio for:
*
/* Values from SmartRF® Studio for:
*
@@
-484,6
+487,9
@@
ao_radio_test(void)
#endif
#if PACKET_HAS_SLAVE
ao_packet_slave_stop();
#endif
#if PACKET_HAS_SLAVE
ao_packet_slave_stop();
+#endif
+#if HAS_PAD
+ ao_pad_disable();
#endif
ao_radio_get(0xff);
RFST = RFST_STX;
#endif
ao_radio_get(0xff);
RFST = RFST_STX;
@@
-500,6
+506,9
@@
ao_radio_test(void)
radio_on = 0;
#if HAS_MONITOR
ao_monitor_enable();
radio_on = 0;
#if HAS_MONITOR
ao_monitor_enable();
+#endif
+#if HAS_PAD
+ ao_pad_enable();
#endif
}
}
#endif
}
}