Tracker: Log_Write_SIMSTATE no longer takes dataflash pointer

This commit is contained in:
Peter Barker 2019-01-18 09:16:24 +11:00 committed by Peter Barker
parent b789f75f32
commit 299c91cf85

View File

@ -14,7 +14,7 @@ void Tracker::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);
} }