From 09c040891e916e3f6cd58ab636c9ef10f7102d53 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 31 Jan 2022 11:03:49 +1100 Subject: [PATCH] hwdef: cap number of Compass, Baro and INS instances saves flash as we don't have to have the parameter structures --- libraries/AP_HAL_ChibiOS/hwdef/skyviper-v2450/hwdef.dat | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/skyviper-v2450/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/skyviper-v2450/hwdef.dat index 3e340bc2c8..b1c5c3ccbc 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/skyviper-v2450/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/skyviper-v2450/hwdef.dat @@ -109,3 +109,5 @@ define AP_MOTORS_FRAME_QUAD_ENABLED 1 # SkyViper isn't going to sprout new compasses: define COMPASS_MAX_SENSORS 1 +define BARO_MAX_INSTANCES 1 +define INS_MAX_INSTANCES 1