From 20c5e9ec088540620fba81c8b9a42796be209801 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Wed, 8 Feb 2017 18:47:30 -0800 Subject: [PATCH] Add support for external mag on aerofc --- libraries/AP_HAL/board/px4.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_HAL/board/px4.h b/libraries/AP_HAL/board/px4.h index 5cbabc45f1..2cc4c2dc16 100644 --- a/libraries/AP_HAL/board/px4.h +++ b/libraries/AP_HAL/board/px4.h @@ -79,4 +79,7 @@ #ifdef CONFIG_ARCH_BOARD_AEROFC_V1 #define HAL_BARO_MS5607_I2C_ADDR 0x77 #define HAL_BARO_MS5607_I2C_BUS 0 + +#define HAL_COMPASS_IST8310_I2C_ADDR 0x0E +#define HAL_COMPASS_IST8310_I2C_BUS 1 #endif