From e6e96bcf5e8735a50b1655288fd5bfb5b5a17507 Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Sat, 11 Feb 2023 12:54:22 +0000 Subject: [PATCH] AP_HAL_ChibiOS: probe external compasses on foxeer reaper f745 --- libraries/AP_HAL_ChibiOS/hwdef/ReaperF745v2/hwdef.dat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/ReaperF745v2/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/ReaperF745v2/hwdef.dat index 30aa3ae55c..003b927b2e 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/ReaperF745v2/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/ReaperF745v2/hwdef.dat @@ -123,8 +123,9 @@ SPIDEV bmi270 SPI3 DEVID1 BMI270_CS MODE3 1*MHZ 4*MHZ SPIDEV dataflash SPI4 DEVID1 FLASH_CS MODE3 32*MHZ 32*MHZ SPIDEV osd SPI1 DEVID1 AT7456E_CS MODE0 10*MHZ 10*MHZ -# no built-in compass and no external I2C so no compass +# no built-in compass define ALLOW_ARM_NO_COMPASS +define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_I2C_INTERNAL_MASK 0 # one IMU bmi270