From 40a3bf94f4c00ae104bc7f0f829610a3423eda60 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 3 Jul 2019 09:54:53 +1000 Subject: [PATCH] Copter: EKF logging moved into EKF from logger --- ArduCopter/Log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/Log.cpp b/ArduCopter/Log.cpp index 1ded2c02a5..7434e82b72 100644 --- a/ArduCopter/Log.cpp +++ b/ArduCopter/Log.cpp @@ -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();