Browse Source

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

gps-1.3.1
bugobliterator 4 years ago committed by Andrew Tridgell
parent
commit
58baad9949
  1. 2
      libraries/AP_IRLock/AP_IRLock_SITL.h
  2. 2
      libraries/AP_IRLock/AP_IRLock_SITL_Gazebo.cpp

2
libraries/AP_IRLock/AP_IRLock_SITL.h

@ -20,7 +20,7 @@ public: @@ -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

2
libraries/AP_IRLock/AP_IRLock_SITL_Gazebo.cpp

@ -38,7 +38,7 @@ AP_IRLock_SITL_Gazebo::AP_IRLock_SITL_Gazebo() : @@ -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

Loading…
Cancel
Save