mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
Copter: Proximity uses rangefinder singleton
This commit is contained in:
parent
7c8510dd4b
commit
7944692de6
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user