diff --git a/AntennaTracker/Log.cpp b/AntennaTracker/Log.cpp index a00c531095..4743b61848 100644 --- a/AntennaTracker/Log.cpp +++ b/AntennaTracker/Log.cpp @@ -11,7 +11,7 @@ void Tracker::Log_Write_Attitude() targets.y = nav_status.pitch * 100.0f; targets.z = wrap_360_cd(nav_status.bearing * 100.0f); logger.Write_Attitude(ahrs, targets); - logger.Write_EKF(ahrs); + AP::ahrs_navekf().Log_Write(); logger.Write_AHRS2(ahrs); #if CONFIG_HAL_BOARD == HAL_BOARD_SITL sitl.Log_Write_SIMSTATE();