diff options
| author | Keith Packard <keithp@keithp.com> | 2012-04-25 23:29:20 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-04-25 23:29:20 -0700 |
| commit | 7b0b6bcc40891d8dd106d091d3af8107b2941c66 (patch) | |
| tree | f90f8e700d182ebeafbcfa62e5a682d000f53c9e /src/megametrum-v0.1/ao_megametrum.c | |
| parent | e0b8c614ec4d11f432963e48d94e4497d31a9ddc (diff) | |
altos: Add hmc5883 and mpu6000 drivers to megametrum build
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.c | 4 |
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(); |
