ArduCopter: move estop pre-arm to AP_Arming and add exception

This commit is contained in:
Henry Wurzburg 2023-04-10 07:08:01 -05:00 committed by Andrew Tridgell
parent c36c042e71
commit 1f94fd69f9
1 changed files with 0 additions and 6 deletions

View File

@ -33,12 +33,6 @@ bool AP_Arming_Copter::run_pre_arm_checks(bool display_failure)
return false;
}
// if we are using motor Estop switch, it must not be in Estop position
if (SRV_Channels::get_emergency_stop()){
check_failed(display_failure, "Motor Emergency Stopped");
return false;
}
if (!disarm_switch_checks(display_failure)) {
return false;
}