From 60b4953751b3bc10b638c6d5f3570d4d036db166 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Tue, 6 Oct 2020 14:21:20 +0900 Subject: [PATCH] Plane: integrate ahrs.pre_arm_check --- ArduPlane/AP_Arming.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/AP_Arming.cpp b/ArduPlane/AP_Arming.cpp index 7adc4adfae..28d24e64fa 100644 --- a/ArduPlane/AP_Arming.cpp +++ b/ArduPlane/AP_Arming.cpp @@ -126,7 +126,7 @@ bool AP_Arming_Plane::ins_checks(bool display_failure) (checks_to_perform & ARMING_CHECK_INS)) { char failure_msg[50] = {}; if (!AP::ahrs().pre_arm_check(failure_msg, sizeof(failure_msg))) { - check_failed(ARMING_CHECK_INS, display_failure, "%s", failure_msg); + check_failed(ARMING_CHECK_INS, display_failure, "AHRS: %s", failure_msg); return false; } }