Copter: when using file logs use "logs" directory

This commit is contained in:
Andrew Tridgell 2013-12-17 11:15:47 +11:00
parent d93b95186d
commit dd749c1de3

View File

@ -190,7 +190,7 @@ static DataFlash_APM2 DataFlash;
#elif CONFIG_HAL_BOARD == HAL_BOARD_APM1
static DataFlash_APM1 DataFlash;
#elif CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
//static DataFlash_File DataFlash("/tmp/APMlogs");
//static DataFlash_File DataFlash("logs");
static DataFlash_SITL DataFlash;
#elif CONFIG_HAL_BOARD == HAL_BOARD_PX4
static DataFlash_File DataFlash("/fs/microsd/APM/logs");