X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fdrivers%2Fao_mpu6000.c;h=7bc37488402a64dde6aef86750f00fa14cef42e7;hb=b31f532e1069aab2925794c5341d0359c1d7d5be;hp=c65aecbcc1d363f9db603ea439f7c27b756df47d;hpb=116d8570766fbd3ef529111171935637a2e466af;p=fw%2Faltos 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 #include +#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