mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_RCProtocol: return true on initial protocol detection
we need to tell the IO firmware that a byte was consumed when we first detect a protocol as otherwise the next bad byte on DSM will lock us on the DSM port
This commit is contained in:
parent
816f3d1124
commit
d651395891
@ -219,7 +219,7 @@ bool AP_RCProtocol::process_byte(uint8_t byte, uint32_t baudrate)
|
||||
}
|
||||
// stop decoding pulses to save CPU
|
||||
hal.rcin->pulse_input_enable(false);
|
||||
break;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user