fix(sos): e-ink status view refreshes every 15 s and shows minutes, not a second-by-second count

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-11-02 09:23:17 +01:00
co-authored by Claude Opus 5.5
parent 745e554e72
commit 81b74e41ce
3 changed files with 14 additions and 6 deletions
+4
View File
@@ -367,6 +367,10 @@ TEST_F(Sos, TheStatusLines) {
EXPECT_STREQ(b, "Next in 5 min");
sos.nextLine(b, sizeof(b), now + 5UL * 60000UL - 30000UL);
EXPECT_STREQ(b, "Next in 30 s");
sos.nextLine(b, sizeof(b), now + 5UL * 60000UL - 30000UL, true);
EXPECT_STREQ(b, "Next in <1 min");
sos.nextLine(b, sizeof(b), now, true);
EXPECT_STREQ(b, "Next in 5 min");
prefs.sos_repeat_idx = 0;
sos.markSent(now, true, true);
sos.nextLine(b, sizeof(b), now);