diff --git a/libraries/AP_NavEKF3/AP_NavEKF3_MagFusion.cpp b/libraries/AP_NavEKF3/AP_NavEKF3_MagFusion.cpp index 82ef731ef7..7f1dcfb195 100644 --- a/libraries/AP_NavEKF3/AP_NavEKF3_MagFusion.cpp +++ b/libraries/AP_NavEKF3/AP_NavEKF3_MagFusion.cpp @@ -695,6 +695,8 @@ void NavEKF3_core::FuseMagnetometer() } else if (obsIndex == 2) { faultStatus.bad_zmag = true; } + CovarianceInit(); + return; } } }