1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-26 01:35:35 +03:00

Merge pull request #4232 from iNavFlight/agh_refactor_rcdata

Refactor handling of RC input data
This commit is contained in:
Alberto García Hierro 2019-03-18 19:36:00 +00:00 committed by GitHub
commit 56474ce5ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 118 additions and 131 deletions

View file

@ -508,7 +508,7 @@ static bool mspFcProcessOutCommand(uint16_t cmdMSP, sbuf_t *dst, mspPostProcessF
case MSP_RC:
for (int i = 0; i < rxRuntimeConfig.channelCount; i++) {
sbufWriteU16(dst, rcRaw[i]);
sbufWriteU16(dst, rxGetRawChannelValue(i));
}
break;