summaryrefslogtreecommitdiff
path: root/src/drivers/ao_mpu6000.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-05-14 09:01:49 -0700
committerKeith Packard <keithp@keithp.com>2013-05-14 09:01:49 -0700
commitb31f532e1069aab2925794c5341d0359c1d7d5be (patch)
tree1724b95fe6574c62f5534962c4806c2664170098 /src/drivers/ao_mpu6000.c
parent116d8570766fbd3ef529111171935637a2e466af (diff)
altos: Disable MPU6000 for testing
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_mpu6000.c')
-rw-r--r--src/drivers/ao_mpu6000.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/ao_mpu6000.c b/src/drivers/ao_mpu6000.c
index c65aecbc..7bc37488 100644
--- a/src/drivers/ao_mpu6000.c
+++ b/src/drivers/ao_mpu6000.c
@@ -19,6 +19,8 @@
#include <ao_mpu6000.h>
#include <ao_exti.h>
+#if HAS_MPU6000
+
static uint8_t ao_mpu6000_wake;
static uint8_t ao_mpu6000_configured;
@@ -328,3 +330,4 @@ ao_mpu6000_init(void)
ao_add_task(&ao_mpu6000_task, ao_mpu6000, "mpu6000");
ao_cmd_register(&ao_mpu6000_cmds[0]);
}
+#endif