forked from Archive/PX4-Autopilot
commander: low flight time failsafe: set UserTakeoverAllowed::Auto to enter Hold first (#22887)
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
parent
68fcfc43ef
commit
6373d8d243
|
@ -369,7 +369,7 @@ FailsafeBase::ActionOptions Failsafe::fromRemainingFlightTimeLowActParam(int par
|
||||||
{
|
{
|
||||||
ActionOptions options{};
|
ActionOptions options{};
|
||||||
|
|
||||||
options.allow_user_takeover = UserTakeoverAllowed::Always;
|
options.allow_user_takeover = UserTakeoverAllowed::Auto;
|
||||||
options.cause = Cause::RemainingFlightTimeLow;
|
options.cause = Cause::RemainingFlightTimeLow;
|
||||||
|
|
||||||
switch (command_after_remaining_flight_time_low(param_value)) {
|
switch (command_after_remaining_flight_time_low(param_value)) {
|
||||||
|
|
Loading…
Reference in New Issue