Copter: move check for duplicate auxswitch options up
This commit is contained in:
parent
911570e9f3
commit
c0d7739929
@ -149,12 +149,6 @@ bool AP_Arming_Copter::parameter_checks(bool display_failure)
|
||||
// check various parameter values
|
||||
if ((checks_to_perform == ARMING_CHECK_ALL) || (checks_to_perform & ARMING_CHECK_PARAMETERS)) {
|
||||
|
||||
// ensure all rc channels have different functions
|
||||
if (rc().duplicate_options_exist()) {
|
||||
check_failed(ARMING_CHECK_PARAMETERS, display_failure, "Duplicate Aux Switch Options");
|
||||
return false;
|
||||
}
|
||||
|
||||
// failsafe parameter checks
|
||||
if (copter.g.failsafe_throttle) {
|
||||
// check throttle min is above throttle failsafe trigger and that the trigger is above ppm encoder's loss-of-signal value of 900
|
||||
|
Loading…
Reference in New Issue
Block a user