mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-14 05:00:35 +08:00
Rename force_failsafe to termination for clarity
This commit is contained in:
committed by
Alex Klimaj
parent
34dacffc4a
commit
7fe78e184e
@@ -42,7 +42,7 @@ void SystemChecks::checkAndReport(const Context &context, Report &reporter)
|
||||
actuator_armed_s actuator_armed;
|
||||
|
||||
if (_actuator_armed_sub.copy(&actuator_armed)) {
|
||||
if (actuator_armed.force_failsafe || actuator_armed.manual_lockdown) {
|
||||
if (actuator_armed.termination || actuator_armed.manual_lockdown) {
|
||||
/* EVENT
|
||||
*/
|
||||
reporter.armingCheckFailure(NavModes::All, health_component_t::system, events::ID("check_system_flight_term_active"),
|
||||
|
||||
Reference in New Issue
Block a user