From 450323f4ae0b9298672fbecee821141c524438d8 Mon Sep 17 00:00:00 2001
From: Andrew Tridgell <tridge@samba.org>
Date: Tue, 8 Oct 2013 19:19:53 +1100
Subject: [PATCH] Copter: enable logging on Linux

---
 ArduCopter/ArduCopter.pde | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ArduCopter/ArduCopter.pde b/ArduCopter/ArduCopter.pde
index fe11c74dc..7b004afe7 100644
--- a/ArduCopter/ArduCopter.pde
+++ b/ArduCopter/ArduCopter.pde
@@ -183,6 +183,8 @@ static DataFlash_APM1 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
 static DataFlash_Empty DataFlash;
 #endif
-- 
GitLab