AP_HAL: BeagleBone Blue fix HMC5843 I2C bus number

This commit is contained in:
mirkix 2017-05-30 21:39:40 +02:00 committed by Randy Mackay
parent 5cf9b1e985
commit b4c1ecf9ce
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@
#define HAL_COMPASS_AK8963_I2C_BUS 2 #define HAL_COMPASS_AK8963_I2C_BUS 2
#define HAL_COMPASS_AK8963_I2C_ADDR 0x0C #define HAL_COMPASS_AK8963_I2C_ADDR 0x0C
/* HMC5843 can be an external compass */ /* HMC5843 can be an external compass */
#define HAL_COMPASS_HMC5843_I2C_BUS 2 #define HAL_COMPASS_HMC5843_I2C_BUS 1
#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