Sub: remove bogus ARMING_CHECK_NONE 'bitmask value'

This commit is contained in:
Peter Barker 2019-10-05 07:51:38 +10:00 committed by Andrew Tridgell
parent fa0d0c6176
commit 739bc486fa
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}