AP_Arming: display a warning if arming checks disabled when arming

This commit is contained in:
Andrew Tridgell 2022-03-16 20:08:08 +11:00 committed by Randy Mackay
parent 2bbc197f42
commit 9648323d0a
1 changed files with 4 additions and 0 deletions

View File

@ -1364,6 +1364,10 @@ bool AP_Arming::arm(AP_Arming::Method method, const bool do_arming_checks)
armed = false;
}
if (armed && do_arming_checks && checks_to_perform == 0) {
gcs().send_text(MAV_SEVERITY_WARNING, "Warning: Arming Checks Disabled");
}
return armed;
}