AP_HAL: permit double-maths whe simulating

This commit is contained in:
Peter Barker 2022-01-28 14:25:13 +11:00 committed by Peter Barker
parent 650ef59be8
commit a402dce95b

View File

@ -6,7 +6,7 @@
macros to allow code to build on multiple platforms more easily macros to allow code to build on multiple platforms more easily
*/ */
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL || CONFIG_HAL_BOARD == HAL_BOARD_LINUX || HAL_WITH_EKF_DOUBLE #if CONFIG_HAL_BOARD == HAL_BOARD_SITL || CONFIG_HAL_BOARD == HAL_BOARD_LINUX || HAL_WITH_EKF_DOUBLE || (CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS && AP_SIM_ENABLED)
/* /*
allow double maths on Linux and SITL to avoid problems with system headers allow double maths on Linux and SITL to avoid problems with system headers
*/ */