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:
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
|
||||
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 :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue