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:
parent
2ab89a40e0
commit
17bcb0c092
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue