From 66a8474fca72c4e2a70408ba2d21081ee0464577 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Ha=C3=9Fel?= Date: Fri, 10 Jan 2025 13:13:10 +0100 Subject: [PATCH] AppMatch: update at least once a second --- src/app/AppMatch.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/app/AppMatch.h b/src/app/AppMatch.h index 8159b33..bfa9d56 100644 --- a/src/app/AppMatch.h +++ b/src/app/AppMatch.h @@ -123,14 +123,10 @@ protected: } } - if (state == MINUTES || (state == SECONDS && !configCentis)) { - if (updateSeconds != totalSeconds) { - updateSeconds = totalSeconds; - markDirty(); - } - } - - if (state == SECONDS && configCentis) { + if (updateSeconds != totalSeconds) { + updateSeconds = totalSeconds; + markDirty(); + } else if (state == SECONDS && configCentis) { markDirty(); } }