Add a slow display refresh mode to fast_stopwatch

This commit is contained in:
Alessandro Genova
2025-08-26 23:56:50 -04:00
parent 7d0f4d1a33
commit edd3a5c3b4
2 changed files with 33 additions and 11 deletions
@@ -59,6 +59,7 @@ typedef struct {
rtc_counter_t lap_counter; // rtc counter when the stopwatch was lapped
rtc_counter_t stop_counter; // rtc counter when the stopwatch was stopped
uint8_t status; // the status the stopwatch is in (idle, running, stopped)
bool slow_refresh; // update the display slowly (same 128Hz timekeeping accuracy)
struct {
rtc_counter_t seconds;
rtc_counter_t minutes;