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

Don't allow data that RC receiver sends as failsafe values to pollute RC filter and rcData. Only meaningful for digital receivers that signal the link loss explicitly

This commit is contained in:
Konstantin Sharlaimov (DigitalEntity) 2018-06-30 18:16:01 +02:00
parent bea730c252
commit 5950237aaf
3 changed files with 16 additions and 4 deletions

View file

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