AP_HAL: added sensor defines for BMM150 and ICM20789

This commit is contained in:
Andrew Tridgell 2018-01-19 16:06:22 +11:00
parent 2db74a642b
commit 6bc3d126bb

View File

@ -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