mirror of https://github.com/ArduPilot/ardupilot
Sub: remove bogus ARMING_CHECK_NONE 'bitmask value'
This commit is contained in:
parent
fa0d0c6176
commit
739bc486fa
|
@ -48,7 +48,7 @@ bool AP_Arming_Sub::pre_arm_checks(bool display_failure)
|
|||
}
|
||||
// don't allow arming unless there is a disarm button configured
|
||||
if (!has_disarm_function()) {
|
||||
check_failed(ARMING_CHECK_NONE, display_failure, "Must assign a disarm or arm_toggle button");
|
||||
check_failed(display_failure, "Must assign a disarm or arm_toggle button");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue