Files
PX4-Autopilot/boards
Julian Oes 73939d4c36 fix(rc): keep decoder state out of the shared RC buffer (#29847)
All RC decoders share rc_decode_buf. SUMD read its channel count back
from it while receiving a frame, so another decoder writing to the
buffer could move its write index past the end. px4io feeds the same
bytes to DSM, ST24 and SUMD until one locks, and rc_input's protocol
scan resumes decoders after the others have used the buffer.

Keep the SUMD channel count private, and reset ST24 and SUMD when the
rc_input scan switches protocol.

Assisted-by: Claude:claude-opus-5-5

Signed-off-by: Julian Oes <julian@oes.ch>
2026-11-19 17:17:19 -07:00
..