Typo. Restriction should be if greater than 400.
This commit is contained in:
parent
dc3b89e78c
commit
297f5ba2af
|
@ -941,7 +941,7 @@ void validateAndFixConfig(void)
|
|||
motorConfigMutable()->mincommand = 1000;
|
||||
}
|
||||
|
||||
if((motorConfig()->motorPwmProtocol == PWM_TYPE_STANDARD) && (motorConfig()->motorPwmRate > 900)) {
|
||||
if((motorConfig()->motorPwmProtocol == PWM_TYPE_STANDARD) && (motorConfig()->motorPwmRate > 400)) {
|
||||
motorConfig()->motorPwmRate = 400;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue