mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 15:53:56 -04:00
AP_Arming: fix aux auth arming check
This commit is contained in:
parent
d6a1af4690
commit
36eb605de5
@ -1073,8 +1073,10 @@ bool AP_Arming::aux_auth_checks(bool display_failure)
|
||||
}
|
||||
|
||||
// send failure or waiting message
|
||||
if (some_failures && !failure_msg_sent) {
|
||||
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");
|
||||
|
Loading…
Reference in New Issue
Block a user