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

Fix bug with double pwm protocol SET in MSP

This commit is contained in:
borisbstyle 2016-10-21 23:36:29 +02:00 committed by GitHub
parent b165c7f20d
commit 449d26efee

View file

@ -1691,7 +1691,6 @@ static mspResult_e mspFcProcessInCommand(uint8_t cmdMSP, sbuf_t *src)
#else
masterConfig.motorConfig.motorPwmProtocol = constrain(sbufReadU8(src), 0, PWM_TYPE_BRUSHED);
#endif
masterConfig.motorConfig.motorPwmProtocol = sbufReadU8(src);
masterConfig.motorConfig.motorPwmRate = sbufReadU16(src);
break;
case MSP_SET_FILTER_CONFIG :