Copter: RangeFinder uses AP_SerialManager singleton

This commit is contained in:
Peter Barker 2019-07-09 16:15:29 +10:00 committed by Andrew Tridgell
parent c14a4b5c2b
commit 97bb846310
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ private:
Compass compass;
AP_InertialSensor ins;
RangeFinder rangefinder{serial_manager};
RangeFinder rangefinder;
struct {
bool enabled:1;
bool alt_healthy:1; // true if we can trust the altitude from the rangefinder