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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {