From 58baad9949e7f8fa00ff8c4a0fe9eff4bac98c45 Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Fri, 30 Jul 2021 15:44:15 +0530 Subject: [PATCH] AP_IRLock: change class name from SITL::SITL to SITL::SIM --- libraries/AP_IRLock/AP_IRLock_SITL.h | 2 +- libraries/AP_IRLock/AP_IRLock_SITL_Gazebo.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_IRLock/AP_IRLock_SITL.h b/libraries/AP_IRLock/AP_IRLock_SITL.h index 1e0624b3e0..33f091ca77 100644 --- a/libraries/AP_IRLock/AP_IRLock_SITL.h +++ b/libraries/AP_IRLock/AP_IRLock_SITL.h @@ -20,7 +20,7 @@ public: bool update() override; private: - SITL::SITL *_sitl; // sitl instance pointer + SITL::SIM *_sitl; // sitl instance pointer uint32_t _last_timestamp = 0; }; #endif // CONFIG_HAL_BOARD diff --git a/libraries/AP_IRLock/AP_IRLock_SITL_Gazebo.cpp b/libraries/AP_IRLock/AP_IRLock_SITL_Gazebo.cpp index efbbc91624..cbb420ac05 100644 --- a/libraries/AP_IRLock/AP_IRLock_SITL_Gazebo.cpp +++ b/libraries/AP_IRLock/AP_IRLock_SITL_Gazebo.cpp @@ -38,7 +38,7 @@ AP_IRLock_SITL_Gazebo::AP_IRLock_SITL_Gazebo() : void AP_IRLock_SITL_Gazebo::init(int8_t bus) { - SITL::SITL *sitl = AP::sitl(); + SITL::SIM *sitl = AP::sitl(); // try to bind to a specific port so that if we restart ArduPilot // Gazebo keeps sending us packets. Not strictly necessary but // useful for debugging