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

View File

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