Copter: fixed build for SITL changes

This commit is contained in:
Andrew Tridgell 2015-11-16 15:10:50 +11:00
parent 9108179322
commit 0c92331762

View File

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