mirror of https://github.com/ArduPilot/ardupilot
Copter: enable logging on Linux
This commit is contained in:
parent
bf5aef7119
commit
450323f4ae
|
@ -183,6 +183,8 @@ static DataFlash_APM1 DataFlash;
|
||||||
static DataFlash_SITL DataFlash;
|
static DataFlash_SITL DataFlash;
|
||||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
#elif CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
||||||
static DataFlash_File DataFlash("/fs/microsd/APM/logs");
|
static DataFlash_File DataFlash("/fs/microsd/APM/logs");
|
||||||
|
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||||
|
static DataFlash_File DataFlash("logs");
|
||||||
#else
|
#else
|
||||||
static DataFlash_Empty DataFlash;
|
static DataFlash_Empty DataFlash;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue