AP_HAL: defined default log and terrain directories for bebop

the /var filesystem is wiped on boot on Bebop. Use these as a
temporary workaround
This commit is contained in:
Andrew Tridgell 2015-07-10 16:29:13 +10:00
parent 6df33dd3f4
commit 4e0c2c5a9b
1 changed files with 2 additions and 0 deletions

View File

@ -213,6 +213,8 @@
#define HAL_BARO_DEFAULT HAL_BARO_MS5611_SPI
#define HAL_COMPASS_DEFAULT HAL_COMPASS_AK8963_MPU9250
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BEBOP
#define HAL_BOARD_LOG_DIRECTORY "/data/ftp/internal_000/APM/logs"
#define HAL_BOARD_TERRAIN_DIRECTORY "/data/ftp/internal_000/APM/terrain"
#define HAL_INS_DEFAULT HAL_INS_MPU60XX_I2C
#define HAL_INS_MPU60XX_I2C_BUS 2
#define HAL_INS_MPU60XX_I2C_ADDR 0x68