diff --git a/ArduCopter/sensors.cpp b/ArduCopter/sensors.cpp index 4517cbde03..1982632c8d 100644 --- a/ArduCopter/sensors.cpp +++ b/ArduCopter/sensors.cpp @@ -199,7 +199,6 @@ void Copter::init_proximity(void) { #if PROXIMITY_ENABLED == ENABLED g2.proximity.init(); - g2.proximity.set_rangefinder(&rangefinder); #endif }