AP_InertialSensor: split AP_HAL_SITL and HAL_SIM_ENABLED

This commit is contained in:
Peter Barker 2021-10-30 12:15:49 +11:00 committed by Peter Barker
parent a402dce95b
commit da21b48f7e

View File

@ -48,7 +48,7 @@
#include <AP_Math/polyfit.h>
#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;