fix LED turning off on face changes
This commit is contained in:
@@ -235,7 +235,6 @@ void alarm_face_resign(movement_settings_t *settings, void *context) {
|
||||
alarm_state_t *state = (alarm_state_t *)context;
|
||||
state->is_setting = false;
|
||||
_alarm_update_alarm_enabled(settings, state);
|
||||
watch_set_led_off();
|
||||
state->alarm_quick_ticks = false;
|
||||
_wait_ticks = -1;
|
||||
movement_request_tick_frequency(1);
|
||||
|
||||
@@ -330,6 +330,5 @@ bool simon_face_loop(movement_event_t event, movement_settings_t *settings,
|
||||
void simon_face_resign(movement_settings_t *settings, void *context) {
|
||||
(void)settings;
|
||||
(void)context;
|
||||
watch_set_led_off();
|
||||
watch_set_buzzer_off();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user