forked from Archive/PX4-Autopilot
Commander: set vehicle_status.failsafe flag only if action for failed check is more than warning
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
parent
7c6ecd95a8
commit
6d8273483c
|
@ -147,7 +147,7 @@ public:
|
|||
bool rc_sticks_takeover_request,
|
||||
const failsafe_flags_s &status_flags);
|
||||
|
||||
bool inFailsafe() const { return _selected_action != Action::None; }
|
||||
bool inFailsafe() const { return (_selected_action != Action::None && _selected_action != Action::Warn); }
|
||||
|
||||
Action selectedAction() const { return _selected_action; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue