From 07b299997d0b775bcc6918c88ba26f4340357e56 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 30 Oct 2021 11:37:05 +1100 Subject: [PATCH] ArduSub: split AP_HAL_SITL and HAL_SIM_ENABLED --- ArduSub/Parameters.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduSub/Parameters.cpp b/ArduSub/Parameters.cpp index 549c7af068..234598351e 100644 --- a/ArduSub/Parameters.cpp +++ b/ArduSub/Parameters.cpp @@ -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