forked from Archive/PX4-Autopilot
commander: add valid check
Better checking once too much than once too little.
This commit is contained in:
parent
efd8757fda
commit
53bd254502
|
@ -2449,6 +2449,7 @@ Commander::run()
|
|||
&& !in_low_battery_failsafe && !_geofence_warning_action_on
|
||||
&& _armed.armed
|
||||
&& !_status_flags.rc_input_blocked
|
||||
&& manual_control_setpoint.valid
|
||||
&& manual_control_setpoint.user_override
|
||||
&& override_enabled) {
|
||||
const transition_result_t posctl_result =
|
||||
|
|
Loading…
Reference in New Issue