hwdef: correct compilation of CubeOrange-SimOnHW

../../libraries/AP_InertialSensor/AP_InertialSensor_config.h:20:2: error: #error "INS_AUX_INSTANCES must be zero if INS_MAX_INSTANCES is less than 3"
   20 | #error "INS_AUX_INSTANCES must be zero if INS_MAX_INSTANCES is less than 3"
      |  ^~~~~
This commit is contained in:
Peter Barker 2023-10-13 10:11:19 +11:00
parent 84791f4670
commit 68bc3f4aa1
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,9 @@
include ../CubeOrangePlus/hwdef.dat
include ../include/SimOnHW.inc
undef INS_AUX_INSTANCES
define INS_AUX_INSTANCES 0
# short board name override (23 chars)
define CHIBIOS_SHORT_BOARD_NAME "CubeOrange+SimOnHW"