summaryrefslogtreecommitdiff
path: root/src/kernel/ao_flight.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-12-02 15:32:38 -0600
committerKeith Packard <keithp@keithp.com>2017-12-02 15:52:43 -0600
commitf0068719b17019c5cd7ed318364a0581caf64e1a (patch)
treeaed3ba2002e6337d4148887ecc3cb5ab5422965e /src/kernel/ao_flight.c
parentc31744299e5a4342bbe26d3735ee2d8f09192ae9 (diff)
altos/kernel: MPU9250 support
Use MPU9250 for accel, gyro and mag data in logging, telemetry and flight status computations. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/kernel/ao_flight.c')
-rw-r--r--src/kernel/ao_flight.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/ao_flight.c b/src/kernel/ao_flight.c
index f06125cd..cb02c454 100644
--- a/src/kernel/ao_flight.c
+++ b/src/kernel/ao_flight.c
@@ -21,7 +21,7 @@
#include <ao_log.h>
#endif
-#if HAS_MPU6000
+#if HAS_MPU6000 || HAS_MPU9250
#include <ao_quaternion.h>
#endif