1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-22 07:45:29 +03:00

Correct Standard PWM rate

This commit is contained in:
borisbstyle 2017-02-07 01:11:08 +01:00
parent 2ab89a40e0
commit 17bcb0c092

View file

@ -1092,7 +1092,7 @@ void validateAndFixGyroConfig(void)
float motorUpdateRestriction;
switch(motorConfig()->motorPwmProtocol) {
case (PWM_TYPE_STANDARD):
motorUpdateRestriction = 0.002f;
motorUpdateRestriction = 1.0f/BRUSHLESS_MOTORS_PWM_RATE;
break;
case (PWM_TYPE_ONESHOT125):
motorUpdateRestriction = 0.0005f;