diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-03-31 10:44:39 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-03-31 11:04:09 (GMT) |
| commit | 9c124f4c7db42e0e092e87667b58fcc1b41b2296 (patch) | |
| tree | c43be75e5cb4ad9e2509a37e6236e6084331772a | |
| parent | e456261bd6691085f6268fe4b2d04d76e010e3f8 (diff) | |
fix for 12-hour digital displayheartdev
| -rw-r--r-- | src/displayapp/screens/WatchFaceDigital.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
