mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-03 07:31:35 +08:00
Revert "failsafe: prevent Hold when no action is taken (#26383)"
This reverts commit 40dc011d82.
Not needed anymore
This commit is contained in:
@@ -422,7 +422,6 @@ FailsafeBase::ActionOptions Failsafe::fromRemainingFlightTimeLowActParam(int par
|
|||||||
switch (command_after_remaining_flight_time_low(param_value)) {
|
switch (command_after_remaining_flight_time_low(param_value)) {
|
||||||
case command_after_remaining_flight_time_low::None:
|
case command_after_remaining_flight_time_low::None:
|
||||||
options.action = Action::None;
|
options.action = Action::None;
|
||||||
options.allow_user_takeover = UserTakeoverAllowed::Never; // Execute immediately without delay
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case command_after_remaining_flight_time_low::Warning:
|
case command_after_remaining_flight_time_low::Warning:
|
||||||
@@ -436,7 +435,6 @@ FailsafeBase::ActionOptions Failsafe::fromRemainingFlightTimeLowActParam(int par
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
options.action = Action::None;
|
options.action = Action::None;
|
||||||
options.allow_user_takeover = UserTakeoverAllowed::Never;
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user