From 6bc3d126bbc55bb1a0f3469e04835da64d5f82f3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 19 Jan 2018 16:06:22 +1100 Subject: [PATCH] AP_HAL: added sensor defines for BMM150 and ICM20789 --- libraries/AP_HAL/AP_HAL_Boards.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/AP_HAL/AP_HAL_Boards.h b/libraries/AP_HAL/AP_HAL_Boards.h index 4168781103..05b76b9770 100644 --- a/libraries/AP_HAL/AP_HAL_Boards.h +++ b/libraries/AP_HAL/AP_HAL_Boards.h @@ -90,6 +90,7 @@ #define HAL_INS_EDGE 20 #define HAL_INS_RST 21 #define HAL_INS_LSM9DS1 22 +#define HAL_INS_ICM20789_SPI 23 /* Barometer driver types */ #define HAL_BARO_NONE 0 @@ -106,6 +107,8 @@ #define HAL_BARO_BMP280_I2C 11 #define HAL_BARO_BMP280_SPI 12 #define HAL_BARO_LPS25H 13 +#define HAL_BARO_20789_I2C_I2C 14 +#define HAL_BARO_20789_I2C_SPI 15 /* Compass driver types */ #define HAL_COMPASS_NONE 0 @@ -128,6 +131,7 @@ #define HAL_COMPASS_EDGE 18 #define HAL_COMPASS_LIS3MDL 19 #define HAL_COMPASS_MAG3110 20 +#define HAL_COMPASS_BMM150_I2C 21 /* Heat Types */ #define HAL_LINUX_HEAT_PWM 1