From 9c124f4c7db42e0e092e87667b58fcc1b41b2296 Mon Sep 17 00:00:00 2001 From: Michele Bini Date: Thu, 31 Mar 2022 12:44:39 +0200 Subject: fix for 12-hour digital display diff --git a/src/displayapp/screens/WatchFaceDigital.cpp b/src/displayapp/screens/WatchFaceDigital.cpp index 4641148..47454f3 100644 --- a/src/displayapp/screens/WatchFaceDigital.cpp +++ b/src/displayapp/screens/WatchFaceDigital.cpp @@ -386,7 +386,7 @@ void WatchFaceDigital::Refresh() { hour -= 12; hide_pm = false; } - h0 = hour < 10 ? ' ' : '0' + (hour-10); + h0 = hour < 10 ? ' ' : '1'; } else { h0 = '0' + (hour / 10); } -- cgit v0.10.2