From 19838b52f3938bdafc02dc7e3fef54e072c30b03 Mon Sep 17 00:00:00 2001 From: Demur Rumed Date: Sun, 8 Jun 2025 18:54:38 +0000 Subject: [PATCH] under a minute announce every 10s --- soh/soh/Enhancements/tts/tts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soh/soh/Enhancements/tts/tts.cpp b/soh/soh/Enhancements/tts/tts.cpp index 9d936b3d6..978e5ca24 100644 --- a/soh/soh/Enhancements/tts/tts.cpp +++ b/soh/soh/Enhancements/tts/tts.cpp @@ -147,7 +147,7 @@ void RegisterOnInterfaceUpdateHook() { timer = gSaveContext.subTimerSeconds; } - if (timer > 0 && timer % 30 == 0 && timer != prevTimer) { + if (timer > 0 && timer % (timer < 60 ? 10 : 30) == 0 && timer != prevTimer) { uint32_t minutes = timer / 60; uint32_t seconds = timer % 60; char* announceBuf = ttsAnnounceBuf;