Plane: removed duplicate rangefinder
This commit is contained in:
parent
b92c2409e4
commit
6fe65cdd9a
@ -29,7 +29,7 @@ Plane::Plane(void) :
|
||||
#endif
|
||||
flight_modes(&g.flight_mode1),
|
||||
#if AP_AHRS_NAVEKF_AVAILABLE
|
||||
ahrs(ins, barometer, gps, rng),
|
||||
ahrs(ins, barometer, gps, rangefinder),
|
||||
#else
|
||||
ahrs(ins, barometer, gps),
|
||||
#endif
|
||||
|
@ -163,7 +163,6 @@ private:
|
||||
|
||||
// Sensors
|
||||
AP_GPS gps;
|
||||
RangeFinder rng;
|
||||
|
||||
// flight modes convenience array
|
||||
AP_Int8 *flight_modes;
|
||||
|
Loading…
Reference in New Issue
Block a user