summaryrefslogtreecommitdiff
path: root/src/megametrum-v0.1/ao_megametrum.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/megametrum-v0.1/ao_megametrum.c')
-rw-r--r--src/megametrum-v0.1/ao_megametrum.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/megametrum-v0.1/ao_megametrum.c b/src/megametrum-v0.1/ao_megametrum.c
index d93480f2..8283f533 100644
--- a/src/megametrum-v0.1/ao_megametrum.c
+++ b/src/megametrum-v0.1/ao_megametrum.c
@@ -16,6 +16,7 @@
*/
#include <ao.h>
+#include <ao_hmc5883.h>
#include <ao_exti.h>
void
@@ -54,6 +55,9 @@ main(void)
ao_usb_init();
ao_exti_init();
ao_radio_init();
+ ao_i2c_init();
+ ao_hmc5883_init();
+ ao_mpu6000_init();
ao_cmd_register(&ao_mm_cmds[0]);
ao_start_scheduler();