projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altos: Allow megametrum to be built without using the mag sensor
[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 749f251d913571028384ae42e759d2c51214ea1e..a6d93733e0d1b4b1b569a15ba971e55194892cc3 100644
(file)
--- a/
src/megametrum-v0.1/ao_megametrum.c
+++ b/
src/megametrum-v0.1/ao_megametrum.c
@@
-43,9
+43,15
@@
main(void)
ao_beep_init();
ao_cmd_init();
+#if HAS_MS5607
ao_ms5607_init();
+#endif
+#if HAS_HMC5883
ao_hmc5883_init();
+#endif
+#if HAS_MPU6000
ao_mpu6000_init();
+#endif
ao_storage_init();