mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 17:55:30 +03:00
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
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ static void gyroInitLowpassFilterLpf(gyroSensor_t *gyroSensor, int slot, int typ
|
||||||
|| defined(USE_GYRO_SPI_ICM20689)
|
|| defined(USE_GYRO_SPI_ICM20689)
|
||||||
#define GYRO_SYNC_DENOM_DEFAULT 1
|
#define GYRO_SYNC_DENOM_DEFAULT 1
|
||||||
#else
|
#else
|
||||||
#define GYRO_SYNC_DENOM_DEFAULT 4
|
#define GYRO_SYNC_DENOM_DEFAULT 3
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define GYRO_OVERFLOW_TRIGGER_THRESHOLD 31980 // 97.5% full scale (1950dps for 2000dps gyro)
|
#define GYRO_OVERFLOW_TRIGGER_THRESHOLD 31980 // 97.5% full scale (1950dps for 2000dps gyro)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue