|
|
|
@ -1827,7 +1827,7 @@ uint32_t NavEKF3::getLastYawResetAngle(float &yawAngDelta)
@@ -1827,7 +1827,7 @@ uint32_t NavEKF3::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; |
|
|
|
|