AntennaTracker: rename for AHRS restructuring

This commit is contained in:
Peter Barker 2021-07-20 22:16:33 +10:00 committed by Peter Barker
parent e1b839f739
commit d74bb146f1
1 changed files with 1 additions and 1 deletions

View File

@ -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);
ahrs.Write_Attitude(targets);
AP::ahrs_navekf().Log_Write();
AP::ahrs().Log_Write();
ahrs.Write_AHRS2();
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
sitl.Log_Write_SIMSTATE();