From da21b48f7e3372d0be20e40e2b9d02f13aeb6990 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 30 Oct 2021 12:15:49 +1100 Subject: [PATCH] AP_InertialSensor: split AP_HAL_SITL and HAL_SIM_ENABLED --- libraries/AP_InertialSensor/AP_InertialSensor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_InertialSensor/AP_InertialSensor.h b/libraries/AP_InertialSensor/AP_InertialSensor.h index fbbceff9da..b851e76d27 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor.h +++ b/libraries/AP_InertialSensor/AP_InertialSensor.h @@ -48,7 +48,7 @@ #include #ifndef AP_SIM_INS_ENABLED -#define AP_SIM_INS_ENABLED (CONFIG_HAL_BOARD == HAL_BOARD_SITL) +#define AP_SIM_INS_ENABLED AP_SIM_ENABLED #endif class AP_InertialSensor_Backend;