AP_Proximity: declare RangeFinder as a class to avoid circular include issue

This commit is contained in:
Peter Barker 2019-09-04 10:11:48 +10:00 committed by Andrew Tridgell
parent f0ee5a6aea
commit 7c5e84d572
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ public:
void update(void);
// set pointer to rangefinder object
void set_rangefinder(const RangeFinder *rangefinder) { _rangefinder = rangefinder; }
void set_rangefinder(const class RangeFinder *rangefinder) { _rangefinder = rangefinder; }
const RangeFinder *get_rangefinder() const { return _rangefinder; }
// return sensor orientation and yaw correction