isolating this bit of complexity in movement function; Add ifdefs in clock faces for DCE

This commit is contained in:
David Volovskiy
2024-07-10 07:22:55 -04:00
parent 7f6a9e5c9b
commit 2afc2c6721
3 changed files with 19 additions and 6 deletions

View File

@@ -53,7 +53,11 @@ typedef struct {
} clock_state_t;
static bool clock_is_in_24h_mode(movement_settings_t *settings) {
#ifdef CLOCK_FACE_24H_ONLY
return true;
#else
return settings->bit.clock_mode_24h;
#endif
}
static void clock_indicate(WatchIndicatorSegment indicator, bool on) {