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.
This commit is contained in:
parent
2df6b2879a
commit
5c376d9b9a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user