Rover: move logging of Proximity into Proximity library
This commit is contained in:
parent
de2182b88f
commit
2327218822
@ -380,7 +380,7 @@ void Rover::update_logging1(void)
|
||||
|
||||
#if HAL_PROXIMITY_ENABLED
|
||||
if (should_log(MASK_LOG_RANGEFINDER)) {
|
||||
logger.Write_Proximity(g2.proximity);
|
||||
g2.proximity.log();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user