ArduPlane: split AP_HAL_SITL and HAL_SIM_ENABLED

This commit is contained in:
Peter Barker 2021-10-30 11:37:05 +11:00 committed by Peter Barker
parent cfd9bfd541
commit d93449ac28

View File

@ -924,7 +924,7 @@ const AP_Param::Info Plane::var_info[] = {
GOBJECT(can_mgr, "CAN_", AP_CANManager),
#endif
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
#if AP_SIM_ENABLED
// @Group: SIM_
// @Path: ../libraries/SITL/SITL.cpp
GOBJECT(sitl, "SIM_", SITL::SIM),