From 40dc011d82f5b79c11718992200e60c8534929ca Mon Sep 17 00:00:00 2001 From: Nick <145654544+ttechnick@users.noreply.github.com> Date: Fri, 30 Jan 2026 14:09:56 +0100 Subject: [PATCH] failsafe: prevent Hold when no action is taken (#26383) --- src/modules/commander/failsafe/failsafe.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/commander/failsafe/failsafe.cpp b/src/modules/commander/failsafe/failsafe.cpp index b0c19db29b..2f5777b69d 100644 --- a/src/modules/commander/failsafe/failsafe.cpp +++ b/src/modules/commander/failsafe/failsafe.cpp @@ -422,6 +422,7 @@ FailsafeBase::ActionOptions Failsafe::fromRemainingFlightTimeLowActParam(int par switch (command_after_remaining_flight_time_low(param_value)) { case command_after_remaining_flight_time_low::None: options.action = Action::None; + options.allow_user_takeover = UserTakeoverAllowed::Never; // Execute immediately without delay break; case command_after_remaining_flight_time_low::Warning: @@ -435,6 +436,7 @@ FailsafeBase::ActionOptions Failsafe::fromRemainingFlightTimeLowActParam(int par default: options.action = Action::None; + options.allow_user_takeover = UserTakeoverAllowed::Never; break; }