Plane: removed duplicate rangefinder

This commit is contained in:
Andrew Tridgell 2015-05-14 08:54:02 +10:00
parent b92c2409e4
commit 6fe65cdd9a
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -163,7 +163,6 @@ private:
// Sensors
AP_GPS gps;
RangeFinder rng;
// flight modes convenience array
AP_Int8 *flight_modes;