From 93d041c3f512dca91b2ee6a40ba867290b97f847 Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Sun, 14 Sep 2014 16:02:57 +0100 Subject: [PATCH] Fix being unable to set lowpass filter to 5 for the MPU6000. --- src/main/drivers/accgyro_spi_mpu6000.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/drivers/accgyro_spi_mpu6000.c b/src/main/drivers/accgyro_spi_mpu6000.c index b64fe38459..354dd1ca42 100644 --- a/src/main/drivers/accgyro_spi_mpu6000.c +++ b/src/main/drivers/accgyro_spi_mpu6000.c @@ -302,6 +302,7 @@ bool mpu6000SpiGyroDetect(gyro_t *gyro, uint16_t lpf) break; case 5: mpuLowPassFilter = BITS_DLPF_CFG_5HZ; + break; case 0: mpuLowPassFilter = BITS_DLPF_CFG_2100HZ_NOLPF; break;