From b4fc6b221564f258e2b95963151809062b1cdd46 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 8 Feb 2023 10:48:11 +1100 Subject: [PATCH] AP_HAL_ChibiOS: do not detect extra bmm150 instances on SkyViper-v2450 --- libraries/AP_HAL_ChibiOS/hwdef/skyviper-v2450/hwdef.dat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/skyviper-v2450/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/skyviper-v2450/hwdef.dat index 951dd5f145..0529288e9e 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/skyviper-v2450/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/skyviper-v2450/hwdef.dat @@ -125,6 +125,9 @@ define AP_MOTORS_FRAME_QUAD_ENABLED 1 define COMPASS_MAX_SENSORS 1 define AP_COMPASS_BACKEND_DEFAULT_ENABLED 0 define AP_COMPASS_BMM150_ENABLED 1 +# avoid trying to detect BMM150 backends; the one compass is +#specifed as part of PCNC1: +define AP_COMPASS_BMM150_DETECT_BACKENDS_ENABLED 0 define BARO_MAX_INSTANCES 1 define INS_MAX_INSTANCES 1