Plane: EKF logging moved into EKF from logger

This commit is contained in:
Peter Barker 2019-07-03 09:55:10 +10:00 committed by Andrew Tridgell
parent 40a3bf94f4
commit 1674cb0a85
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ void Plane::Log_Write_Attitude(void)
logger.Write_PID(LOG_PIDS_MSG, steerController.get_pid_info());
#if AP_AHRS_NAVEKF_AVAILABLE
logger.Write_EKF(ahrs);
AP::ahrs_navekf().Log_Write();
logger.Write_AHRS2(ahrs);
#endif
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL