Fix being unable to set lowpass filter to 5 for the MPU6000.

This commit is contained in:
Dominic Clifton 2014-09-14 16:02:57 +01:00
parent f58de05e94
commit 93d041c3f5
1 changed files with 1 additions and 0 deletions

View File

@ -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;