Change default gyro loop to 2.67KHz for I2C gyro targets
Improves dynamic filter operation by providing a wider sampling window due to the higher gyro loop rate. Makes the dynamic more useful by default on targets like SPRACINGF3.
This commit is contained in:
parent
f4011b3dc3
commit
0fcfb95120
|
@ -169,7 +169,7 @@ static void gyroInitLowpassFilterLpf(gyroSensor_t *gyroSensor, int slot, int typ
|
|||
|| defined(USE_GYRO_SPI_ICM20689)
|
||||
#define GYRO_SYNC_DENOM_DEFAULT 1
|
||||
#else
|
||||
#define GYRO_SYNC_DENOM_DEFAULT 4
|
||||
#define GYRO_SYNC_DENOM_DEFAULT 3
|
||||
#endif
|
||||
|
||||
#define GYRO_OVERFLOW_TRIGGER_THRESHOLD 31980 // 97.5% full scale (1950dps for 2000dps gyro)
|
||||
|
|
Loading…
Reference in New Issue