mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
Remove magic number from MSP_SERVO_CONF.
This commit is contained in:
parent
834347f1a7
commit
fe40472050
1 changed files with 1 additions and 1 deletions
|
@ -842,7 +842,7 @@ static bool processOutCommand(uint8_t cmdMSP)
|
|||
s_struct((uint8_t *)&servo, 16);
|
||||
break;
|
||||
case MSP_SERVO_CONF:
|
||||
headSerialReply(56);
|
||||
headSerialReply(MAX_SUPPORTED_SERVOS * 7);
|
||||
for (i = 0; i < MAX_SUPPORTED_SERVOS; i++) {
|
||||
serialize16(currentProfile->servoConf[i].min);
|
||||
serialize16(currentProfile->servoConf[i].max);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue