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
1 changed files with 1 additions and 1 deletions

View File

@ -941,7 +941,7 @@ void validateAndFixConfig(void)
motorConfigMutable()->mincommand = 1000; motorConfigMutable()->mincommand = 1000;
} }
if((motorConfig()->motorPwmProtocol == PWM_TYPE_STANDARD) && (motorConfig()->motorPwmRate > 900)) { if((motorConfig()->motorPwmProtocol == PWM_TYPE_STANDARD) && (motorConfig()->motorPwmRate > 400)) {
motorConfig()->motorPwmRate = 400; motorConfig()->motorPwmRate = 400;
} }