diff --git a/libraries/AP_NavEKF2/AP_NavEKF2.cpp b/libraries/AP_NavEKF2/AP_NavEKF2.cpp index 6cb092483d..d7e4b3ad4b 100644 --- a/libraries/AP_NavEKF2/AP_NavEKF2.cpp +++ b/libraries/AP_NavEKF2/AP_NavEKF2.cpp @@ -1370,7 +1370,7 @@ uint32_t NavEKF2::getLastYawResetAngle(float &yawAngDelta) uint32_t lastYawReset_ms = yaw_reset_data.last_primary_change; // There has been a change notification in the primary core that the controller has not consumed - // or this is a repeated acce + // or this is a repeated access if (yaw_reset_data.core_changed || yaw_reset_data.last_function_call == now_time_ms) { yawAngDelta = yaw_reset_data.core_delta; yaw_reset_data.core_changed = false;