summaryrefslogtreecommitdiff
path: root/src/core/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-08-27 13:47:16 -0700
committerKeith Packard <keithp@keithp.com>2012-08-27 13:47:16 -0700
commit0f3483f93137f41a61f3fcbe06afcaffb1b9e17b (patch)
tree17347990eff672a49b3491267e71a946ea8e0fa0 /src/core/ao.h
parent85fd7ab504a9fac1de90bbe7df8ea477a092c2b0 (diff)
altos: Clean up radio APIs
Move api to ao_radio_cmac.h include file. Expose ao_radio_test as standard API. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao.h')
-rw-r--r--src/core/ao.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ao.h b/src/core/ao.h
index 5e1fbb9d..b8bedd85 100644
--- a/src/core/ao.h
+++ b/src/core/ao.h
@@ -543,9 +543,6 @@ ao_telemetry_tiny_init(void);
*/
extern __xdata uint8_t ao_radio_dma;
-extern __xdata uint8_t ao_radio_dma_done;
-extern __xdata uint8_t ao_radio_done;
-extern __xdata uint8_t ao_radio_mutex;
#ifdef PKT_APPEND_STATUS_1_CRC_OK
#define AO_RADIO_STATUS_CRC_OK PKT_APPEND_STATUS_1_CRC_OK
@@ -566,6 +563,9 @@ ao_radio_recv(__xdata void *d, uint8_t size) __reentrant;
void
ao_radio_recv_abort(void);
+void
+ao_radio_test(uint8_t on);
+
/*
* Compute the packet length as follows:
*