From 33c0990efd81d2fe0d607d008f7f692ad0eabed0 Mon Sep 17 00:00:00 2001 From: Willian Galvani Date: Mon, 23 May 2022 20:27:52 -0300 Subject: [PATCH] AL_HAL: update navigator boards i2c buses --- libraries/AP_HAL/board/linux.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/AP_HAL/board/linux.h b/libraries/AP_HAL/board/linux.h index 2c9fb4a9a4..08bd0ef33d 100644 --- a/libraries/AP_HAL/board/linux.h +++ b/libraries/AP_HAL/board/linux.h @@ -194,8 +194,9 @@ #define HAL_BARO_PROBE_LIST PROBE_BARO_I2C(BMP280, 1, 0x76) #define HAL_BARO_EXTERNAL_BUS_DEFAULT 6 #define HAL_PROBE_EXTERNAL_I2C_COMPASSES - // I2C6 is the only one exposed + // I2C6 is the only i2c one exposed on a header #define HAL_LINUX_I2C_EXTERNAL_BUS_MASK 1 << 6 + // We don't want any probing on the internal buses #define HAL_LINUX_I2C_INTERNAL_BUS_MASK 0 #elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BLUE #define HAL_GPIO_A_LED_PIN 66