Copter: Tradheli servo_test fix

This commit is contained in:
Josh Welsh 2020-08-03 19:38:55 -07:00 committed by Randy Mackay
parent e77bc1ce9d
commit de9e9b90e5

View File

@ -299,6 +299,13 @@ bool AP_Arming_Copter::motor_checks(bool display_failure)
return false;
}
//servo_test check
#if FRAME_CONFIG == HELI_FRAME
if(copter.motors->servo_test_running()) {
check_failed(display_failure, "Servo Test is still running");
return false;
}
#endif
// further checks enabled with parameters
if (!check_enabled(ARMING_CHECK_PARAMETERS)) {
return true;