Plane: fixed build for SITL changes

This commit is contained in:
Andrew Tridgell 2015-11-16 15:10:42 +11:00
parent e1cb9beeef
commit 9108179322
1 changed files with 1 additions and 1 deletions

View File

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