mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +03:00
Merge branch 'inflight-adjustments'
This commit is contained in:
commit
8aeee0b5fd
13 changed files with 686 additions and 80 deletions
|
@ -845,8 +845,8 @@ static bool processOutCommand(uint8_t cmdMSP)
|
|||
const box_t *box = &boxes[mac->modeId];
|
||||
serialize8(box->permanentId);
|
||||
serialize8(mac->auxChannelIndex);
|
||||
serialize8(mac->rangeStartStep);
|
||||
serialize8(mac->rangeEndStep);
|
||||
serialize8(mac->range.startStep);
|
||||
serialize8(mac->range.endStep);
|
||||
}
|
||||
break;
|
||||
case MSP_BOXNAMES:
|
||||
|
@ -1088,8 +1088,8 @@ static bool processInCommand(void)
|
|||
if (box) {
|
||||
mac->modeId = box->boxId;
|
||||
mac->auxChannelIndex = read8();
|
||||
mac->rangeStartStep = read8();
|
||||
mac->rangeEndStep = read8();
|
||||
mac->range.startStep = read8();
|
||||
mac->range.endStep = read8();
|
||||
} else {
|
||||
headSerialError(0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue