From e7c2eb1705f3a3cb71f77c3e4402349d6bb3c247 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Thu, 21 Jan 2021 15:23:12 +0900 Subject: [PATCH] Sub: ahrs pre-arm skips position checks --- ArduSub/AP_Arming_Sub.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduSub/AP_Arming_Sub.cpp b/ArduSub/AP_Arming_Sub.cpp index 40c49a2f57..a86b6f4b83 100644 --- a/ArduSub/AP_Arming_Sub.cpp +++ b/ArduSub/AP_Arming_Sub.cpp @@ -66,7 +66,7 @@ bool AP_Arming_Sub::ins_checks(bool display_failure) if ((checks_to_perform & ARMING_CHECK_ALL) || (checks_to_perform & ARMING_CHECK_INS)) { char failure_msg[50] = {}; - if (!AP::ahrs().pre_arm_check(failure_msg, sizeof(failure_msg))) { + if (!AP::ahrs().pre_arm_check(false, failure_msg, sizeof(failure_msg))) { check_failed(ARMING_CHECK_INS, display_failure, "AHRS: %s", failure_msg); return false; }