mirror of https://github.com/ArduPilot/ardupilot
AP_Proximity: declare RangeFinder as a class to avoid circular include issue
This commit is contained in:
parent
f0ee5a6aea
commit
7c5e84d572
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue