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 &),