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 10:44:39 (GMT) |
| commit | 999ae1954421457d1b9cccd3b368b4c57a412814 (patch) | |
| tree | 4db4776a8dba355b917e9926e19f2546531949c4 | |
| parent | f0327f77c6c4f307df60866213999a031864cbea (diff) | |
fix for 12-hour digital display
| -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 553feae..f2c3c27 100644 --- a/src/displayapp/screens/WatchFaceDigital.cpp +++ b/src/displayapp/screens/WatchFaceDigital.cpp @@ -145,7 +145,7 @@ void WatchFaceDigital::Refresh() { hour -= 12; hide_pm = false; } - h0 = hour < 10 ? ' ' : '0' + (hour-10); + h0 = hour < 10 ? ' ' : '1'; } else { h0 = '0' + (hour / 10); } |
