Copter: call Log_Write_POS()

This commit is contained in:
Andrew Tridgell 2015-05-15 14:24:51 +10:00
parent 2feee9aa88
commit 848ceefcec

View File

@ -381,6 +381,7 @@ static void Log_Write_Attitude()
#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);
} }
struct PACKED log_Rate { struct PACKED log_Rate {