From 98798216002c20653ae256f893ac6a23391282c4 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 27 Sep 2019 19:04:48 +1000 Subject: [PATCH] Copter: Proximity uses rangefinder singleton --- ArduCopter/sensors.cpp | 1 - 1 file changed, 1 deletion(-) 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 }