faces/clock: add 24h only feature

The clock watch face can now be configured at build time
to only display the time in 24h mode. Also enabled in forced 24h mode.

This should result in smaller code size due to dead code elimination.
This commit is contained in:
Matheus Afonso Martins Moreira
2024-02-25 15:18:45 -03:00
parent 4cca3a0fac
commit 4a66035f77
2 changed files with 17 additions and 2 deletions

View File

@@ -229,3 +229,9 @@ endif
ifeq ($(BOARD), OSO-FEAL-A1-00)
CFLAGS += -DCRYSTALLESS
endif
# Build options to customize movement and faces
ifdef CLOCK_FACE_24H_ONLY
CFLAGS += -DCLOCK_FACE_24H_ONLY
endif