summaryrefslogtreecommitdiff
path: root/src/drivers/ao_cc1120.c
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/drivers/ao_cc1120.c
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/drivers/ao_cc1120.c')
-rw-r--r--src/drivers/ao_cc1120.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/ao_cc1120.c b/src/drivers/ao_cc1120.c
index 97a434d8..4df931b5 100644
--- a/src/drivers/ao_cc1120.c
+++ b/src/drivers/ao_cc1120.c
@@ -515,7 +515,7 @@ ao_radio_rdf_abort(void)
}
static void
-ao_radio_test(void)
+ao_radio_test_cmd(void)
{
uint8_t mode = 2;
uint8_t radio_on;
@@ -1008,7 +1008,7 @@ ao_radio_test_recv()
#endif
static const struct ao_cmds ao_radio_cmds[] = {
- { ao_radio_test, "C <1 start, 0 stop, none both>\0Radio carrier test" },
+ { ao_radio_test_cmd, "C <1 start, 0 stop, none both>\0Radio carrier test" },
#if CC1120_DEBUG
{ ao_radio_show, "R\0Show CC1120 status" },
{ ao_radio_beep, "b\0Emit an RDF beacon" },