Fix being unable to set lowpass filter to 5 for the MPU6000.
This commit is contained in:
parent
f58de05e94
commit
93d041c3f5
|
@ -302,6 +302,7 @@ bool mpu6000SpiGyroDetect(gyro_t *gyro, uint16_t lpf)
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
mpuLowPassFilter = BITS_DLPF_CFG_5HZ;
|
mpuLowPassFilter = BITS_DLPF_CFG_5HZ;
|
||||||
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
mpuLowPassFilter = BITS_DLPF_CFG_2100HZ_NOLPF;
|
mpuLowPassFilter = BITS_DLPF_CFG_2100HZ_NOLPF;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue