mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-28 19:14:07 +08:00
It was for example possible that DSM got parsed, and in the next iteration SBUS got parsed, leading to multiple PX4IO_P_STATUS_FLAGS_RC_ flags set. input_rc::input_source was then incorrectly set to DSM. Partially guarding was already done: if SBUS got parsed, DSM and others were skipped. The IO will still clear all PX4IO_P_STATUS_FLAGS_RC_* flags on RC loss.