Skip to content

Commit

Permalink
remove CLOCK_FACE_24H_ONLY option, will lead to too many edge cases
Browse files Browse the repository at this point in the history
  • Loading branch information
joeycastillo committed Sep 29, 2024
1 parent 998968c commit bb0211e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions movement.c
Original file line number Diff line number Diff line change
Expand Up @@ -438,11 +438,7 @@ void app_init(void) {

memset(&movement_state, 0, sizeof(movement_state));

#ifdef CLOCK_FACE_24H_ONLY
movement_state.settings.bit.clock_mode_24h = true;
#else
movement_state.settings.bit.clock_mode_24h = MOVEMENT_DEFAULT_24H_MODE;
#endif
movement_state.settings.bit.time_zone = 15;
movement_state.settings.bit.led_red_color = MOVEMENT_DEFAULT_RED_COLOR;
movement_state.settings.bit.led_green_color = MOVEMENT_DEFAULT_GREEN_COLOR;
Expand Down
3 changes: 0 additions & 3 deletions watch-faces/settings/preferences_face.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ void preferences_face_setup(uint8_t watch_face_index, void ** context_ptr) {
for (int i = 0; i < PREFERENCES_PAGE_NUM_PREFERENCES; i++) {
state->setting_enabled[i] = true;
}
#ifdef CLOCK_FACE_24H_ONLY
state->setting_enabled[PREFERENCES_PAGE_CLOCK_MODE] = false;
#endif
#ifndef WATCH_RED_TCC_CHANNEL
state->setting_enabled[PREFERENCES_PAGE_LED_RED] = false;
#endif
Expand Down

0 comments on commit bb0211e

Please sign in to comment.