From f35cf2beba6177aa1207a828509c60e5d5fe2c0f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 29 Dec 2013 07:14:31 +1100 Subject: [PATCH] Plane: use file based logs in SITL --- ArduPlane/ArduPlane.pde | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduPlane/ArduPlane.pde b/ArduPlane/ArduPlane.pde index 3a9a158946..805c057e1c 100644 --- a/ArduPlane/ArduPlane.pde +++ b/ArduPlane/ArduPlane.pde @@ -152,8 +152,8 @@ static DataFlash_APM1 DataFlash; #elif CONFIG_HAL_BOARD == HAL_BOARD_APM2 static DataFlash_APM2 DataFlash; #elif CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL -//static DataFlash_File DataFlash("logs"); -static DataFlash_SITL DataFlash; +static DataFlash_File DataFlash("logs"); +//static DataFlash_SITL DataFlash; #elif CONFIG_HAL_BOARD == HAL_BOARD_PX4 static DataFlash_File DataFlash("/fs/microsd/APM/logs"); #elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX