1
0
Fork 0
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:
Dominic Clifton 2014-10-24 23:12:45 +01:00
commit 8aeee0b5fd
13 changed files with 686 additions and 80 deletions

View file

@ -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);
}