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

This commit is contained in:
bugobliterator 2021-07-30 15:45:25 +05:30 committed by Andrew Tridgell
parent 392ba06f6e
commit 02c0ce175e
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ public:
bool get_upward_distance(float &distance) const override; bool get_upward_distance(float &distance) const override;
private: private:
SITL::SITL *sitl = AP::sitl(); SITL::SIM *sitl = AP::sitl();
AP_Proximity_Temp_Boundary temp_boundary; AP_Proximity_Temp_Boundary temp_boundary;
}; };

View File

@ -27,7 +27,7 @@ public:
bool get_upward_distance(float &distance) const override; bool get_upward_distance(float &distance) const override;
private: private:
SITL::SITL *sitl; SITL::SIM *sitl;
AP_Float *fence_alt_max; AP_Float *fence_alt_max;
Location current_loc; Location current_loc;