mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-22 07:45:29 +03:00
Seperate ONESHOT125 feature from fast_pwm_protocol
This commit is contained in:
parent
80e047e651
commit
f1d422c322
8 changed files with 18 additions and 13 deletions
|
@ -171,9 +171,6 @@ void setGyroSamplingSpeed(uint16_t looptime) {
|
|||
masterConfig.pid_process_denom = 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
// Oneshot125 protection
|
||||
if ((masterConfig.fast_pwm_protocol == 0) && ((masterConfig.gyro_sync_denom * gyroSampleRate) == 125) && masterConfig.pid_process_denom < 3) masterConfig.pid_process_denom = 3;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue