|
|
|
@ -1073,8 +1073,10 @@ bool AP_Arming::aux_auth_checks(bool display_failure)
@@ -1073,8 +1073,10 @@ bool AP_Arming::aux_auth_checks(bool display_failure)
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// send failure or waiting message
|
|
|
|
|
if (some_failures && !failure_msg_sent) { |
|
|
|
|
check_failed(ARMING_CHECK_AUX_AUTH, display_failure, "Auxiliary authorisation refused"); |
|
|
|
|
if (some_failures) { |
|
|
|
|
if (!failure_msg_sent) { |
|
|
|
|
check_failed(ARMING_CHECK_AUX_AUTH, display_failure, "Auxiliary authorisation refused"); |
|
|
|
|
} |
|
|
|
|
return false; |
|
|
|
|
} else if (waiting_for_responses) { |
|
|
|
|
check_failed(ARMING_CHECK_AUX_AUTH, display_failure, "Waiting for auxiliary authorisation"); |
|
|
|
|