From 440e942af419528cc6a50d23e1d24f008b96b16d Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Tue, 22 Jul 2014 21:26:02 +0100 Subject: [PATCH] STM32F3DISCOVERY - Fix build, MPU6000 not supported on this target yet. --- src/main/sensors/initialisation.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/sensors/initialisation.c b/src/main/sensors/initialisation.c index 4721bac29c..67b49c5bca 100755 --- a/src/main/sensors/initialisation.c +++ b/src/main/sensors/initialisation.c @@ -109,6 +109,11 @@ #undef USE_BARO_MS5611 #endif +#ifdef STM32F3DISCOVERY +#undef USE_ACC_SPI_MPU6000 +#undef USE_GYRO_SPI_MPU6000 +#endif + #ifdef CHEBUZZF3 #undef USE_GYRO_L3G4200D #undef USE_GYRO_MPU6050