Browse Source

Copter: Tradheli servo_test fix

c415-sdk
Josh Welsh 5 years ago committed by Randy Mackay
parent
commit
de9e9b90e5
  1. 7
      ArduCopter/AP_Arming.cpp

7
ArduCopter/AP_Arming.cpp

@ -299,6 +299,13 @@ bool AP_Arming_Copter::motor_checks(bool display_failure)
return false; 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 // further checks enabled with parameters
if (!check_enabled(ARMING_CHECK_PARAMETERS)) { if (!check_enabled(ARMING_CHECK_PARAMETERS)) {
return true; return true;

Loading…
Cancel
Save