Sub: Log_Write_SIMSTATE no longer takes dataflash pointer

This commit is contained in:
Peter Barker 2019-01-18 09:16:47 +11:00 committed by Peter Barker
parent a35fbb4a11
commit 696c8e3fb9

View File

@ -60,7 +60,7 @@ void Sub::Log_Write_Attitude()
DataFlash.Log_Write_EKF(ahrs); DataFlash.Log_Write_EKF(ahrs);
DataFlash.Log_Write_AHRS2(ahrs); DataFlash.Log_Write_AHRS2(ahrs);
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL #if CONFIG_HAL_BOARD == HAL_BOARD_SITL
sitl.Log_Write_SIMSTATE(&DataFlash); sitl.Log_Write_SIMSTATE();
#endif #endif
DataFlash.Log_Write_POS(ahrs); DataFlash.Log_Write_POS(ahrs);
} }