Sub: RangeFinder uses AP_SerialManager singleton

This commit is contained in:
Peter Barker 2019-07-09 16:15:42 +10:00 committed by Andrew Tridgell
parent 7c88eb670c
commit 11c5d7cfca
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,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