AP_IRLock: change class name from SITL::SITL to SITL::SIM

This commit is contained in:
bugobliterator 2021-07-30 15:44:15 +05:30 committed by Andrew Tridgell
parent 26e2a4a3cb
commit 58baad9949
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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