From 4e0c2c5a9b3be8601f9e22367bbe0e73ce088ae7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 10 Jul 2015 16:29:13 +1000 Subject: [PATCH] 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 --- libraries/AP_HAL/AP_HAL_Boards.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_HAL/AP_HAL_Boards.h b/libraries/AP_HAL/AP_HAL_Boards.h index cccb8474b0..457ebfa4eb 100644 --- a/libraries/AP_HAL/AP_HAL_Boards.h +++ b/libraries/AP_HAL/AP_HAL_Boards.h @@ -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