From 4d5562764a504fe40cfb3e69f399f348291686bb Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 1 Nov 2016 12:16:31 +1100 Subject: [PATCH] AP_HAL: provide default hmc5983 i2c bus address --- libraries/AP_HAL/AP_HAL_Boards.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libraries/AP_HAL/AP_HAL_Boards.h b/libraries/AP_HAL/AP_HAL_Boards.h index 0265d43184..ddfc1e8141 100644 --- a/libraries/AP_HAL/AP_HAL_Boards.h +++ b/libraries/AP_HAL/AP_HAL_Boards.h @@ -162,3 +162,8 @@ #ifndef HAL_RANGEFINDER_LIGHTWARE_I2C_BUS #define HAL_RANGEFINDER_LIGHTWARE_I2C_BUS 1 #endif + +#ifndef HAL_COMPASS_HMC5843_I2C_ADDR +#define HAL_COMPASS_HMC5843_I2C_ADDR 0x1E +#endif +