From 4cf509a69385c1dc368c2507314f9479d1017e67 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 18 Dec 2016 12:11:12 +1100 Subject: [PATCH] Plane: fixed EKF3 logging --- ArduPlane/Log.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduPlane/Log.cpp b/ArduPlane/Log.cpp index feb77d27c0..25f9d9ae1e 100644 --- a/ArduPlane/Log.cpp +++ b/ArduPlane/Log.cpp @@ -177,9 +177,9 @@ void Plane::Log_Write_Attitude(void) #if AP_AHRS_NAVEKF_AVAILABLE #if OPTFLOW == ENABLED - DataFlash.Log_Write_EKF2(ahrs,optflow.enabled()); + DataFlash.Log_Write_EKF(ahrs,optflow.enabled()); #else - DataFlash.Log_Write_EKF2(ahrs,false); + DataFlash.Log_Write_EKF(ahrs,false); #endif DataFlash.Log_Write_AHRS2(ahrs); #endif