Plane: arming: modes: don't always display

This commit is contained in:
Iampete1 2023-02-19 22:56:18 +00:00 committed by Peter Hall
parent c34c60e852
commit 5586f4ad3a
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ bool AP_Arming_Plane::pre_arm_checks(bool display_failure)
char failure_msg[50] {};
if (!plane.control_mode->pre_arm_checks(ARRAY_SIZE(failure_msg), failure_msg)) {
check_failed(true, "%s %s", plane.control_mode->name(), failure_msg);
check_failed(display_failure, "%s %s", plane.control_mode->name(), failure_msg);
return false;
}