summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-03-31 10:44:39 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-03-31 10:44:39 (GMT)
commit999ae1954421457d1b9cccd3b368b4c57a412814 (patch)
tree4db4776a8dba355b917e9926e19f2546531949c4
parentf0327f77c6c4f307df60866213999a031864cbea (diff)
fix for 12-hour digital display
-rw-r--r--src/displayapp/screens/WatchFaceDigital.cpp2
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);
}