mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-07-24 15:27:41 +08:00
#27605 gated the dshot/pwm_out start on `param compare -s PASSTHRU_EN 0`. PASSTHRU_EN is registered only when the serialpassthrough driver is compiled in, which is not the case on most boards (e.g. fmu-v5x). There param_find() fails, `param compare` returns "no match", the else branch runs, and the FMU outputs never start: the PWM_AUX group disappears from the Actuators screen and motors wired to those pins won't arm. SITL uses a separate init.d-posix rcS and is unaffected, so CI did not catch it. Use the start-unless-explicitly-enabled idiom already used elsewhere in rcS (`param greater -s`): only skip the outputs when PASSTHRU_EN is explicitly > 0. A missing or zero parameter starts the outputs as before.