mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
Add Experimental LPF parameter
This commit is contained in:
parent
856ceee528
commit
a2a58d8ccb
3 changed files with 7 additions and 3 deletions
|
@ -582,7 +582,7 @@ void init(void)
|
|||
afatfs_init();
|
||||
#endif
|
||||
|
||||
if (masterConfig.gyro_lpf) {
|
||||
if (masterConfig.gyro_lpf > 0 && masterConfig.gyro_lpf < 7) {
|
||||
masterConfig.pid_process_denom = 1; // When gyro set to 1khz always set pid speed 1:1 to sampling speed
|
||||
masterConfig.gyro_sync_denom = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue