AP_HAL: add LSM9DS1 defines

Add defines for name and number sensor
This commit is contained in:
Igor Anokhin 2017-10-26 17:34:46 +03:00 committed by Lucas De Marchi
parent be386b2b73
commit 5cf15db966
2 changed files with 2 additions and 0 deletions

View File

@ -86,6 +86,7 @@
#define HAL_INS_MPU6500 19
#define HAL_INS_EDGE 20
#define HAL_INS_RST 21
#define HAL_INS_LSM9DS1 22
/* Barometer driver types */
#define HAL_BARO_BMP085 1

View File

@ -170,6 +170,7 @@
#define HAL_INS_DEFAULT HAL_INS_MPU9250_SPI
#define HAL_INS_DEFAULT_ROTATION ROTATION_NONE
#define HAL_INS_MPU9250_NAME "mpu9250"
#define HAL_INS_LSM9DS1_NAME "lsm9ds1"
#define HAL_BARO_DEFAULT HAL_BARO_MS5611_I2C
#define HAL_BARO_MS5611_I2C_BUS 1
#define HAL_BARO_MS5611_I2C_ADDR 0x77