summaryrefslogtreecommitdiff
path: root/src/cc1111/ao_radio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cc1111/ao_radio.c')
-rw-r--r--src/cc1111/ao_radio.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cc1111/ao_radio.c b/src/cc1111/ao_radio.c
index 2071c47a..46b2362d 100644
--- a/src/cc1111/ao_radio.c
+++ b/src/cc1111/ao_radio.c
@@ -16,6 +16,9 @@
*/
#include "ao.h"
+#if HAS_PAD
+#include <ao_pad.h>
+#endif
/* Values from SmartRF® Studio for:
*
@@ -485,6 +488,9 @@ ao_radio_test(void)
#if PACKET_HAS_SLAVE
ao_packet_slave_stop();
#endif
+#if HAS_PAD
+ ao_pad_disable();
+#endif
ao_radio_get(0xff);
RFST = RFST_STX;
radio_on = 1;
@@ -501,6 +507,9 @@ ao_radio_test(void)
#if HAS_MONITOR
ao_monitor_enable();
#endif
+#if HAS_PAD
+ ao_pad_enable();
+#endif
}
}