Copter: Proximity uses rangefinder singleton

This commit is contained in:
Peter Barker 2019-09-27 19:04:48 +10:00 committed by Andrew Tridgell
parent 10579837c3
commit 6cf7b5f43e
1 changed files with 0 additions and 1 deletions

View File

@ -199,7 +199,6 @@ void Copter::init_proximity(void)
{ {
#if PROXIMITY_ENABLED == ENABLED #if PROXIMITY_ENABLED == ENABLED
g2.proximity.init(); g2.proximity.init();
g2.proximity.set_rangefinder(&rangefinder);
#endif #endif
} }