ArduSub: 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 d93449ac28
commit 07b299997d

View File

@ -521,7 +521,7 @@ const AP_Param::Info Sub::var_info[] = {
GOBJECT(can_mgr, "CAN_", AP_CANManager),
#endif
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
#if AP_SIM_ENABLED
GOBJECT(sitl, "SIM_", SITL::SIM),
#endif