Rover: remove call to EKF1 logging

This commit is contained in:
Randy Mackay 2016-11-23 16:01:13 +09:00
parent 0a04bb26f0
commit bdfae696ae

View File

@ -283,9 +283,9 @@ void Rover::Log_Write_Attitude()
#if AP_AHRS_NAVEKF_AVAILABLE
#if defined(OPTFLOW) and (OPTFLOW == ENABLED)
DataFlash.Log_Write_EKF(ahrs,optflow.enabled());
DataFlash.Log_Write_EKF2(ahrs,optflow.enabled());
#else
DataFlash.Log_Write_EKF(ahrs,false);
DataFlash.Log_Write_EKF2(ahrs,false);
#endif
DataFlash.Log_Write_AHRS2(ahrs);
#endif