this modulo math seems stinky even if it worked. probably because 24h time but it would behave differently in 12h time?

This commit is contained in:
Ryan Rix 2023-10-12 13:20:15 -07:00
parent 49ba4c29ae
commit e3967e8a90

View File

@ -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);