Files
PX4-Autopilot/platforms
Peter van der Perk ca7b6d9819 fix(dshot): skip FlexIO in up_dshot_arm when no channel was initialised (#29677)
When no output is configured for DShot, init fails and the destructor
calls up_dshot_arm(false) before up_dshot_init() ever ran. Since the
FlexIO driver rework up_dshot_arm() writes SHIFTSIEN and TIMIEN
unconditionally, but FlexIO1 is still clock gated at that point and an
access to a gated i.MX RT peripheral stalls the bus: the app dies about
12 s after boot with no fault, before the USB autostart. Seen on the
RT1064 (MR-VMU-TROPIC); RT1176 boards init DShot successfully first.

Return early when the channel mask is empty.
2026-11-09 12:56:58 -07:00
..