summaryrefslogtreecommitdiff
path: root/src/megametrum-v0.1/ao_megametrum.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-04-17 11:01:18 -0700
committerKeith Packard <keithp@keithp.com>2012-04-17 11:01:18 -0700
commit1489263b895a2a825e29d0560c9b1dbba8a3f431 (patch)
treeac77be0da392ca7a130fa24a6ce050c48022f116 /src/megametrum-v0.1/ao_megametrum.c
parentcc305ea231ae22278abf91c0d9925f5992945369 (diff)
altos: Starting to write cc1120 driver
This does "something" in radio test mode, appearing to generate a 730MHz signal. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/megametrum-v0.1/ao_megametrum.c')
-rw-r--r--src/megametrum-v0.1/ao_megametrum.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/megametrum-v0.1/ao_megametrum.c b/src/megametrum-v0.1/ao_megametrum.c
index 9efde598..d93480f2 100644
--- a/src/megametrum-v0.1/ao_megametrum.c
+++ b/src/megametrum-v0.1/ao_megametrum.c
@@ -15,7 +15,8 @@
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-#include "ao.h"
+#include <ao.h>
+#include <ao_exti.h>
void
beep(void)
@@ -51,6 +52,8 @@ main(void)
ao_adc_init();
ao_storage_init();
ao_usb_init();
+ ao_exti_init();
+ ao_radio_init();
ao_cmd_register(&ao_mm_cmds[0]);
ao_start_scheduler();