From b4c1ecf9cee910545eb1e67535c7dd4f2766697e Mon Sep 17 00:00:00 2001 From: mirkix Date: Tue, 30 May 2017 21:39:40 +0200 Subject: [PATCH] AP_HAL: BeagleBone Blue fix HMC5843 I2C bus number --- libraries/AP_HAL/board/linux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL/board/linux.h b/libraries/AP_HAL/board/linux.h index f2f5b34592..16f4147d63 100644 --- a/libraries/AP_HAL/board/linux.h +++ b/libraries/AP_HAL/board/linux.h @@ -251,7 +251,7 @@ #define HAL_COMPASS_AK8963_I2C_BUS 2 #define HAL_COMPASS_AK8963_I2C_ADDR 0x0C /* 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_OPTFLOW_PX4FLOW_I2C_BUS 2 #define HAL_RANGEFINDER_LIGHTWARE_I2C_BUS 2