Copter: EKF logging moved into EKF from logger

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

View File

@ -82,7 +82,7 @@ void Copter::Log_Write_Attitude()
// Write an EKF and POS packet
void Copter::Log_Write_EKF_POS()
{
logger.Write_EKF(ahrs);
AP::ahrs_navekf().Log_Write();
logger.Write_AHRS2(ahrs);
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
sitl.Log_Write_SIMSTATE();