From b8fe1e6f41439bc1314800343fe275b0b49bd9a4 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Tue, 29 Oct 2019 12:56:42 +0900 Subject: [PATCH] AP_NavEKF3: initialise pre-arm failure message --- libraries/AP_NavEKF3/AP_NavEKF3_core.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_NavEKF3/AP_NavEKF3_core.cpp b/libraries/AP_NavEKF3/AP_NavEKF3_core.cpp index cf556e0761..5d8bc83b07 100644 --- a/libraries/AP_NavEKF3/AP_NavEKF3_core.cpp +++ b/libraries/AP_NavEKF3/AP_NavEKF3_core.cpp @@ -385,6 +385,9 @@ void NavEKF3_core::InitialiseVariables() storedBodyOdm.reset(); storedWheelOdm.reset(); + // initialise pre-arm message + hal.util->snprintf(prearm_fail_string, sizeof(prearm_fail_string), "EKF3 still initialising"); + InitialiseVariablesMag(); }