mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Rover: Proximity uses rangefinder singleton
This commit is contained in:
parent
8bd7841c6e
commit
3aea714a98
@ -123,7 +123,6 @@ void Rover::read_rangefinders(void)
|
|||||||
void Rover::init_proximity(void)
|
void Rover::init_proximity(void)
|
||||||
{
|
{
|
||||||
g2.proximity.init();
|
g2.proximity.init();
|
||||||
g2.proximity.set_rangefinder(&rangefinder);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user