AP_HAL: fix PocketPilot HMC5843 I2C bus number

This commit is contained in:
mirkix 2018-05-11 17:46:54 +02:00 committed by Andrew Tridgell
parent 75c8644fb5
commit 76802740cb
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@
#define HAL_BARO_BMP280_NAME "bmp280"
#define HAL_COMPASS_DEFAULT HAL_COMPASS_AK8963_MPU9250
/* 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_OPTFLOW_PX4FLOW_I2C_BUS 2
#define HAL_RANGEFINDER_LIGHTWARE_I2C_BUS 2