Plane: Log_Write_SIMSTATE no longer takes dataflash pointer

This commit is contained in:
Peter Barker authored and Peter Barker committed 2019-01-18 11:16:54 +11:00
1 parent 09dd750df8
commit a35fbb4a11
1 file changed
+1 -1
+1 -1
View File
@@ -44,7 +44,7 @@ void Plane::Log_Write_Attitude(void)
DataFlash.Log_Write_AHRS2(ahrs);
#endif
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
sitl.Log_Write_SIMSTATE(&DataFlash);
sitl.Log_Write_SIMSTATE();
#endif
DataFlash.Log_Write_POS(ahrs);
}