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:
commit
56474ce5ba
19 changed files with 118 additions and 131 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue