mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Fix bug with double pwm protocol SET in MSP
This commit is contained in:
parent
b165c7f20d
commit
449d26efee
1 changed files with 0 additions and 1 deletions
|
@ -1691,7 +1691,6 @@ static mspResult_e mspFcProcessInCommand(uint8_t cmdMSP, sbuf_t *src)
|
||||||
#else
|
#else
|
||||||
masterConfig.motorConfig.motorPwmProtocol = constrain(sbufReadU8(src), 0, PWM_TYPE_BRUSHED);
|
masterConfig.motorConfig.motorPwmProtocol = constrain(sbufReadU8(src), 0, PWM_TYPE_BRUSHED);
|
||||||
#endif
|
#endif
|
||||||
masterConfig.motorConfig.motorPwmProtocol = sbufReadU8(src);
|
|
||||||
masterConfig.motorConfig.motorPwmRate = sbufReadU16(src);
|
masterConfig.motorConfig.motorPwmRate = sbufReadU16(src);
|
||||||
break;
|
break;
|
||||||
case MSP_SET_FILTER_CONFIG :
|
case MSP_SET_FILTER_CONFIG :
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue