diff --git a/libraries/AP_NavEKF3/AP_NavEKF3_Measurements.cpp b/libraries/AP_NavEKF3/AP_NavEKF3_Measurements.cpp index e98583efdb..75ec47a2f8 100644 --- a/libraries/AP_NavEKF3/AP_NavEKF3_Measurements.cpp +++ b/libraries/AP_NavEKF3/AP_NavEKF3_Measurements.cpp @@ -292,6 +292,7 @@ void NavEKF3_core::readMagData() magStateResetRequest = true; // declare the field unlearned so that the reset request will be obeyed magFieldLearned = false; + break; } } }