From e3967e8a9078aeb2f267e53a23f5a069e71c5353 Mon Sep 17 00:00:00 2001 From: Ryan Rix Date: Thu, 12 Oct 2023 13:20:15 -0700 Subject: [PATCH] this modulo math seems stinky even if it worked. probably because 24h time but it would behave differently in 12h time? --- src/displayapp/screens/WatchFaceFuzzy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/displayapp/screens/WatchFaceFuzzy.cpp b/src/displayapp/screens/WatchFaceFuzzy.cpp index 54238d20..779aef6c 100644 --- a/src/displayapp/screens/WatchFaceFuzzy.cpp +++ b/src/displayapp/screens/WatchFaceFuzzy.cpp @@ -151,7 +151,7 @@ void WatchFaceFuzzy::printTimeWords(int h, int m) { } else if (m > 32) { - sprintf(timeStr, "#ffffff %s#\n#808080 to# #FFFFFF %s#", mod, nums[(h % 12) + 1]); + sprintf(timeStr, "#ffffff %s#\n#808080 to# #FFFFFF %s#", mod, nums[(h+1) % 12]); } lv_label_set_text(label_time, timeStr);