From 5c376d9b9a880e10f3b635508aa21847ea347e6f Mon Sep 17 00:00:00 2001 From: Matheus Afonso Martins Moreira Date: Sun, 25 Feb 2024 14:11:07 -0300 Subject: faces/clock: indicate alarm only when necessary The alarm state is not modified within the clock face. Therefore, it only needs to be set when the face is activated. --- movement/watch_faces/clock/clock_face.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/movement/watch_faces/clock/clock_face.c b/movement/watch_faces/clock/clock_face.c index f6c3f3f4..8a396569 100644 --- a/movement/watch_faces/clock/clock_face.c +++ b/movement/watch_faces/clock/clock_face.c @@ -237,8 +237,6 @@ bool clock_face_loop(movement_event_t event, movement_settings_t *settings, void clock_display_clock(settings, state, current); clock_check_battery_periodically(state, current); - - clock_indicate_alarm(settings); clock_indicate_low_available_power(state); state->date_time.previous = current; -- cgit v1.2.3