InfiniTimeOrg / InfiniTime

Firmware for Pinetime smartwatch written in C++ and based on FreeRTOS
GNU General Public License v3.0
2.63k stars 901 forks source link

Stopwatch: Disable lap button at maxLapCount #2060

Open joshoshosh opened 1 month ago

joshoshosh commented 1 month ago

Spurred by https://github.com/InfiniTimeOrg/InfiniTime/issues/2045, this PR introduces logic for disabling (and re-enabling) the StopLap button if the lap counter is at the maximum.

Tested on a PineTime and all stages in the stopwatch should be covered.

Long-time user, first time committer! :)

github-actions[bot] commented 1 month ago
Build size and comparison to main: Section Size Difference
text 377080B 80B
data 940B 0B
bss 63540B 0B