Rover: enable logging on Linux

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

View File

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