PreFlightchecks: remove duplicated VTOL mode prearm check

This removes the check for the current position of the VTOL swtich, as arming is already prevented if in transition mode,
plus also if VTOL and in fixed-wing mode (unless CBRK_VTOL_ARMING is set).

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer
2020-07-08 11:34:42 +02:00
committed by Daniel Agar
parent f70b3046e9
commit 57cbf212be
@@ -74,13 +74,6 @@ bool PreFlightCheck::manualControlCheck(orb_advert_t *mavlink_log_pub, const boo
}
}
if (manual_control_setpoint.transition_switch == manual_control_setpoint_s::SWITCH_POS_ON) {
success = false;
if (report_fail) {
mavlink_log_critical(mavlink_log_pub, "Failure: VTOL transition switch engaged");
}
}
}
return success;