diff --git a/Rover/Log.cpp b/Rover/Log.cpp index be11e8b4c8..5ce5515b51 100644 --- a/Rover/Log.cpp +++ b/Rover/Log.cpp @@ -12,7 +12,7 @@ void Rover::Log_Write_Attitude() ahrs.Write_Attitude(targets); - AP::ahrs_navekf().Log_Write(); + AP::ahrs().Log_Write(); ahrs.Write_AHRS2(); ahrs.Write_POS();