AP_HAL: fix PocketPilot HMC5843 I2C bus number
This commit is contained in:
parent
75c8644fb5
commit
76802740cb
@ -283,7 +283,7 @@
|
|||||||
#define HAL_BARO_BMP280_NAME "bmp280"
|
#define HAL_BARO_BMP280_NAME "bmp280"
|
||||||
#define HAL_COMPASS_DEFAULT HAL_COMPASS_AK8963_MPU9250
|
#define HAL_COMPASS_DEFAULT HAL_COMPASS_AK8963_MPU9250
|
||||||
/* HMC5843 can be an external compass */
|
/* HMC5843 can be an external compass */
|
||||||
#define HAL_COMPASS_HMC5843_I2C_BUS 1
|
#define HAL_COMPASS_HMC5843_I2C_BUS 2
|
||||||
#define HAL_COMPASS_HMC5843_I2C_ADDR 0x1E
|
#define HAL_COMPASS_HMC5843_I2C_ADDR 0x1E
|
||||||
#define HAL_OPTFLOW_PX4FLOW_I2C_BUS 2
|
#define HAL_OPTFLOW_PX4FLOW_I2C_BUS 2
|
||||||
#define HAL_RANGEFINDER_LIGHTWARE_I2C_BUS 2
|
#define HAL_RANGEFINDER_LIGHTWARE_I2C_BUS 2
|
||||||
|
Loading…
Reference in New Issue
Block a user