mirror of https://github.com/ArduPilot/ardupilot
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:
parent
6df33dd3f4
commit
4e0c2c5a9b
|
@ -213,6 +213,8 @@
|
||||||
#define HAL_BARO_DEFAULT HAL_BARO_MS5611_SPI
|
#define HAL_BARO_DEFAULT HAL_BARO_MS5611_SPI
|
||||||
#define HAL_COMPASS_DEFAULT HAL_COMPASS_AK8963_MPU9250
|
#define HAL_COMPASS_DEFAULT HAL_COMPASS_AK8963_MPU9250
|
||||||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BEBOP
|
#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_DEFAULT HAL_INS_MPU60XX_I2C
|
||||||
#define HAL_INS_MPU60XX_I2C_BUS 2
|
#define HAL_INS_MPU60XX_I2C_BUS 2
|
||||||
#define HAL_INS_MPU60XX_I2C_ADDR 0x68
|
#define HAL_INS_MPU60XX_I2C_ADDR 0x68
|
||||||
|
|
Loading…
Reference in New Issue