Rover: move logging of Proximity into Proximity library

This commit is contained in:
Peter Barker 2022-03-04 12:12:18 +11:00 committed by Peter Barker
parent de2182b88f
commit 2327218822

View File

@ -380,7 +380,7 @@ void Rover::update_logging1(void)
#if HAL_PROXIMITY_ENABLED #if HAL_PROXIMITY_ENABLED
if (should_log(MASK_LOG_RANGEFINDER)) { if (should_log(MASK_LOG_RANGEFINDER)) {
logger.Write_Proximity(g2.proximity); g2.proximity.log();
} }
#endif #endif
} }