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:
Silvan Fuhrer
2024-03-14 16:30:06 +01:00
committed by GitHub
parent 68fcfc43ef
commit 6373d8d243
+1 -1
View File
@@ -369,7 +369,7 @@ FailsafeBase::ActionOptions Failsafe::fromRemainingFlightTimeLowActParam(int par
{
ActionOptions options{};
options.allow_user_takeover = UserTakeoverAllowed::Always;
options.allow_user_takeover = UserTakeoverAllowed::Auto;
options.cause = Cause::RemainingFlightTimeLow;
switch (command_after_remaining_flight_time_low(param_value)) {