Browse Source

Sub: remove bogus ARMING_CHECK_NONE 'bitmask value'

mission-4.1.18
Peter Barker 5 years ago committed by Andrew Tridgell
parent
commit
739bc486fa
  1. 2
      ArduSub/AP_Arming_Sub.cpp

2
ArduSub/AP_Arming_Sub.cpp

@ -48,7 +48,7 @@ bool AP_Arming_Sub::pre_arm_checks(bool display_failure) @@ -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…
Cancel
Save