Cleanup: SegmentStatisticUpdater.

This commit is contained in:
Dennis Guse
2025-11-11 21:26:23 +01:00
committed by Dennis Guse
parent 8d015fee6c
commit 59ea50b96f
3 changed files with 32 additions and 13 deletions
@@ -111,7 +111,7 @@ public class TrackStatisticsUpdater {
// Always update time
currentSegment.setStopTime(trackPoint.getTime());
currentSegment.setTotalTime(Duration.between(currentSegment.getStartTime(), trackPoint.getTime()));
currentSegment.updateTotalTime(trackPoint.getTime());
// Process sensor data: barometer
if (trackPoint.hasAltitudeGainLoss()) {