mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_HAL: add LSM9DS1 defines
Add defines for name and number sensor
This commit is contained in:
parent
be386b2b73
commit
5cf15db966
@ -86,6 +86,7 @@
|
|||||||
#define HAL_INS_MPU6500 19
|
#define HAL_INS_MPU6500 19
|
||||||
#define HAL_INS_EDGE 20
|
#define HAL_INS_EDGE 20
|
||||||
#define HAL_INS_RST 21
|
#define HAL_INS_RST 21
|
||||||
|
#define HAL_INS_LSM9DS1 22
|
||||||
|
|
||||||
/* Barometer driver types */
|
/* Barometer driver types */
|
||||||
#define HAL_BARO_BMP085 1
|
#define HAL_BARO_BMP085 1
|
||||||
|
@ -170,6 +170,7 @@
|
|||||||
#define HAL_INS_DEFAULT HAL_INS_MPU9250_SPI
|
#define HAL_INS_DEFAULT HAL_INS_MPU9250_SPI
|
||||||
#define HAL_INS_DEFAULT_ROTATION ROTATION_NONE
|
#define HAL_INS_DEFAULT_ROTATION ROTATION_NONE
|
||||||
#define HAL_INS_MPU9250_NAME "mpu9250"
|
#define HAL_INS_MPU9250_NAME "mpu9250"
|
||||||
|
#define HAL_INS_LSM9DS1_NAME "lsm9ds1"
|
||||||
#define HAL_BARO_DEFAULT HAL_BARO_MS5611_I2C
|
#define HAL_BARO_DEFAULT HAL_BARO_MS5611_I2C
|
||||||
#define HAL_BARO_MS5611_I2C_BUS 1
|
#define HAL_BARO_MS5611_I2C_BUS 1
|
||||||
#define HAL_BARO_MS5611_I2C_ADDR 0x77
|
#define HAL_BARO_MS5611_I2C_ADDR 0x77
|
||||||
|
Loading…
Reference in New Issue
Block a user