From 4c1c0e591f9a13056901fea41d15c87b1a759920 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 6 Oct 2021 15:51:08 +1100 Subject: [PATCH] ArduSub: move SITL object up to AP_Vehicle --- ArduSub/Sub.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ArduSub/Sub.h b/ArduSub/Sub.h index 42ab278dd7..c4c94b1015 100644 --- a/ArduSub/Sub.h +++ b/ArduSub/Sub.h @@ -110,10 +110,6 @@ #include #endif -#if CONFIG_HAL_BOARD == HAL_BOARD_SITL -#include -#endif - class Sub : public AP_Vehicle { public: friend class GCS_MAVLINK_Sub; @@ -164,10 +160,6 @@ private: AP_RPM rpm_sensor; #endif -#if CONFIG_HAL_BOARD == HAL_BOARD_SITL - SITL::SIM sitl; -#endif - // Mission library AP_Mission mission{ FUNCTOR_BIND_MEMBER(&Sub::start_command, bool, const AP_Mission::Mission_Command &),