Copter: enable logging on Linux

This commit is contained in:
Andrew Tridgell 2013-10-08 19:19:53 +11:00
parent bf5aef7119
commit 450323f4ae
1 changed files with 2 additions and 0 deletions

View File

@ -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