mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
Copter: switch to block based logs for SITL
This commit is contained in:
parent
9e92a60cfa
commit
8b31f276a2
@ -157,8 +157,8 @@ static DataFlash_APM2 DataFlash;
|
|||||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_APM1
|
#elif CONFIG_HAL_BOARD == HAL_BOARD_APM1
|
||||||
static DataFlash_APM1 DataFlash;
|
static DataFlash_APM1 DataFlash;
|
||||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
#elif CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
||||||
static DataFlash_File DataFlash("/tmp/APMlogs");
|
//static DataFlash_File DataFlash("/tmp/APMlogs");
|
||||||
//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");
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user