Rover: Proximity uses rangefinder singleton

This commit is contained in:
Peter Barker 2019-09-27 19:04:42 +10:00 committed by Randy Mackay
parent 8bd7841c6e
commit 3aea714a98

View File

@ -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);
} }
/* /*