use named constant for UTC zone

This commit is contained in:
joeycastillo 2024-10-05 09:55:26 -04:00
parent e6f8d39296
commit 4623bf002a
2 changed files with 2 additions and 2 deletions

View File

@ -525,7 +525,7 @@ void app_init(void) {
memset(&movement_state, 0, sizeof(movement_state));
movement_state.settings.bit.clock_mode_24h = MOVEMENT_DEFAULT_24H_MODE;
movement_state.settings.bit.time_zone = 15;
movement_state.settings.bit.time_zone = UTZ_UTC;
movement_state.settings.bit.led_red_color = MOVEMENT_DEFAULT_RED_COLOR;
movement_state.settings.bit.led_green_color = MOVEMENT_DEFAULT_GREEN_COLOR;
#if defined(WATCH_BLUE_TCC_CHANNEL) && !defined(WATCH_GREEN_TCC_CHANNEL)

View File

@ -41,7 +41,7 @@ void world_clock_face_setup(uint8_t watch_face_index, void ** context_ptr) {
*context_ptr = malloc(sizeof(world_clock_state_t));
memset(*context_ptr, 0, sizeof(world_clock_state_t));
world_clock_state_t *state = (world_clock_state_t *)*context_ptr;
state->settings.bit.timezone_index = 15;
state->settings.bit.timezone_index = UTZ_UTC;
}
}