AP_NavEKF3: initialise pre-arm failure message

This commit is contained in:
Randy Mackay 2019-10-29 12:56:42 +09:00 committed by Andrew Tridgell
parent 18af8b0b7f
commit b8fe1e6f41
1 changed files with 3 additions and 0 deletions

View File

@ -385,6 +385,9 @@ void NavEKF3_core::InitialiseVariables()
storedBodyOdm.reset(); storedBodyOdm.reset();
storedWheelOdm.reset(); storedWheelOdm.reset();
// initialise pre-arm message
hal.util->snprintf(prearm_fail_string, sizeof(prearm_fail_string), "EKF3 still initialising");
InitialiseVariablesMag(); InitialiseVariablesMag();
} }