mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
* astyle: remove max line length (#25717) * failsafe unit test: add cases for 1 allow taking over from degraded failsafes 2 not cause immediate takeover when failsafe happens because of mode switch The first test makes sure the user can take over when an RTL failsafe was triggered but degraded to a Land. The second test rules out the easiest fix of removing the condition `_selected_action == selected_action` which causes the problem for test one but is there for a reason. * commander/failsafe: fix user takeover not possible in fallback Land action when configured RTL is not possible --------- Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com>