Copter: Log_Write_SIMSTATE no longer takes dataflash pointer

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

View File

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