mirror of https://github.com/ArduPilot/ardupilot
AP_NavEKF2: Change misnomer (NFC)
This commit is contained in:
parent
e1bab7374b
commit
24591d68bc
|
@ -1370,7 +1370,7 @@ uint32_t NavEKF2::getLastYawResetAngle(float &yawAngDelta)
|
||||||
uint32_t lastYawReset_ms = yaw_reset_data.last_primary_change;
|
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
|
// 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) {
|
if (yaw_reset_data.core_changed || yaw_reset_data.last_function_call == now_time_ms) {
|
||||||
yawAngDelta = yaw_reset_data.core_delta;
|
yawAngDelta = yaw_reset_data.core_delta;
|
||||||
yaw_reset_data.core_changed = false;
|
yaw_reset_data.core_changed = false;
|
||||||
|
|
Loading…
Reference in New Issue