Add estimated laps remaining display - #80
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Lower Displaysetting when Avg Lap Time is configuredLAPcaption above a larger numeric estimate without moving or resizing the main countdownUser impact
Track sessions can now show an approximate remaining-lap count beneath the main countdown. Values below 100 laps use one decimal place, larger estimates use rounded whole numbers, and overrun shows
0.0. Missing or invalid average-lap data falls back safely to elapsed time.Compatibility and safety
Existing installations migrate to Count Up. The option remains hidden until Avg Lap Time is non-zero, previews do not write to flash, and clearing the dependency cannot leave an unavailable selection behind. The maximum-G line, main countdown, gradient, contrast, polling cadence, rest screen, and review flow are unchanged.
Validation
python3 -m compileall -q firmware tests toolspython3 -m unittest discover -s tests -t .— 207 tests pass3600value fit the 240x240 circular safe area without touching the main countdownLAPplus a larger6.7value on the physical display with the main10:00countdown unchangedCloses #79