mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
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 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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user