From bf5aef7119337a27f70d65535ea788b87fb8d3d7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 8 Oct 2013 19:19:31 +1100 Subject: [PATCH] Rover: enable logging on Linux --- APMrover2/APMrover2.pde | 2 ++ 1 file changed, 2 insertions(+) diff --git a/APMrover2/APMrover2.pde b/APMrover2/APMrover2.pde index 72f384c998..55531fc648 100644 --- a/APMrover2/APMrover2.pde +++ b/APMrover2/APMrover2.pde @@ -167,6 +167,8 @@ static DataFlash_APM2 DataFlash; 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 +static DataFlash_File DataFlash("logs"); #else DataFlash_Empty DataFlash; #endif