mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Fix MSP_SET_SERVO_CONFIGURATION data length
Trivial bug introduced when angleAtMin and angleAtMax was deleted. Should have been caught if configurator was tested (should have came up as a length error).
This commit is contained in:
parent
ac03d2983b
commit
00ccce06b7
1 changed files with 1 additions and 1 deletions
|
@ -1447,7 +1447,7 @@ static mspResult_e mspFcProcessInCommand(uint8_t cmdMSP, sbuf_t *src)
|
|||
|
||||
case MSP_SET_SERVO_CONFIGURATION:
|
||||
#ifdef USE_SERVOS
|
||||
if (dataSize != 1 + 14) {
|
||||
if (dataSize != 1 + 12) {
|
||||
return MSP_RESULT_ERROR;
|
||||
}
|
||||
i = sbufReadU8(src);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue