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 committed by Andrew Tridgell
parent 69371e84fd
commit 4b0958fb4f
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"