From 7907fd572991187497c1136c732d243ff45d4ac7 Mon Sep 17 00:00:00 2001 From: TulleU <94483516+TulleU@users.noreply.github.com> Date: Sat, 20 Nov 2021 19:17:50 +0100 Subject: [PATCH] AP_HAL_ChibiOS: revo-mini-i2c probe for external compasses allow for probing of external compasses on i2c --- libraries/AP_HAL_ChibiOS/hwdef/revo-mini-i2c/hwdef.dat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/revo-mini-i2c/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/revo-mini-i2c/hwdef.dat index ff7eb5c0c6..85639648b4 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/revo-mini-i2c/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/revo-mini-i2c/hwdef.dat @@ -142,6 +142,9 @@ define HAL_PROBE_EXTERNAL_I2C_BAROS # look for internal I2C compass COMPASS HMC5843 I2C:0:0x1E false ROTATION_YAW_270 +# also allow for probing of external compasses +define HAL_PROBE_EXTERNAL_I2C_COMPASSES + # SPI devices SPIDEV mpu6000 SPI1 DEVID1 MPU_CS MODE3 1*MHZ 8*MHZ SPIDEV dataflash SPI3 DEVID1 FLASH_CS MODE3 32*MHZ 32*MHZ