mirror of https://github.com/ArduPilot/ardupilot
Copter: Proximity uses rangefinder singleton
This commit is contained in:
parent
3aea714a98
commit
9879821600
|
@ -199,7 +199,6 @@ void Copter::init_proximity(void)
|
|||
{
|
||||
#if PROXIMITY_ENABLED == ENABLED
|
||||
g2.proximity.init();
|
||||
g2.proximity.set_rangefinder(&rangefinder);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue