|
|
|
@@ -203,7 +203,7 @@ WorkSummary workSummaryForExercise(list<GymLogEntry> entries, Exercise exercise) |
|
|
|
lastTimestamp = logEntry.timestamp; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return result; |
|
|
|
} |
|
|
|
|
|
|
|
@@ -236,7 +236,6 @@ int gymTrackerLogWorkToday(Arena *arena, Exercise exercise) { |
|
|
|
WorkSummary summary = workSummaryForExercise(todaysEntries, exercise); |
|
|
|
print("Total work today for %S:\n%.2fkg in ~%.2fmin.\n", exercise.name, summary.totalWork, (real32)summary.restTime / 60.0f); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return statusCode; |
|
|
|
|