1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00

Typo. Restriction should be if greater than 400.

This commit is contained in:
blckmn 2017-02-03 14:51:25 +11:00 committed by borisbstyle
parent dc3b89e78c
commit 297f5ba2af

View file

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