From 91081793227d5c5e788856318a7d30c5386fd2ae Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 16 Nov 2015 15:10:42 +1100 Subject: [PATCH] Plane: fixed build for SITL changes --- ArduPlane/Log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/Log.cpp b/ArduPlane/Log.cpp index eafef4851b..956927df76 100644 --- a/ArduPlane/Log.cpp +++ b/ArduPlane/Log.cpp @@ -178,7 +178,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(&DataFlash); #endif DataFlash.Log_Write_POS(ahrs); }