projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altos: Add hmc5883 and mpu6000 drivers to megametrum build
[fw/altos]
/
src
/
megametrum-v0.1
/
ao_megametrum.c
diff --git
a/src/megametrum-v0.1/ao_megametrum.c
b/src/megametrum-v0.1/ao_megametrum.c
index d93480f2b87379a9c18527c30ea2a6b05b2b018c..8283f5332372476f60c608be16c52cf524b744ea 100644
(file)
--- 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();