From 5fc270fe8df07b01270b035243697de4a32bc351 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Ha=C3=9Fel?= Date: Thu, 13 Mar 2025 00:22:03 +0100 Subject: [PATCH] READY directly after END --- src/countdown.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/countdown.cpp b/src/countdown.cpp index db422bf..9d99c03 100644 --- a/src/countdown.cpp +++ b/src/countdown.cpp @@ -90,6 +90,7 @@ void setState(State newState) { name = "PAUSED"; break; case END: + drawSequence(); name = "END"; break; default: @@ -112,8 +113,8 @@ void countdownUpdate() { const auto color = rest >= 60000 ? WHITE : (rest >= 10000 ? YELLOW : RED); drawMillis(rest, color); } else { - drawSequence(); setState(END); + setState(READY); } break; }