1
0
Fork 0
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:
borisbstyle 2016-05-24 23:10:09 +02:00
parent 80e047e651
commit f1d422c322
8 changed files with 18 additions and 13 deletions

View file

@ -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;
}
}