Copter: remove call to EKF1 logging

This commit is contained in:
priseborough 2016-10-26 19:16:21 +11:00 committed by Randy Mackay
parent 3847975844
commit 7a6e30e7b5
1 changed files with 2 additions and 2 deletions

View File

@ -378,9 +378,9 @@ void Copter::Log_Write_Attitude()
DataFlash.Log_Write_Attitude(ahrs, targets);
#if 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);
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL