diff --git a/Rover/Rover.cpp b/Rover/Rover.cpp index afec3bc1a0..670a7648ed 100644 --- a/Rover/Rover.cpp +++ b/Rover/Rover.cpp @@ -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 }