fix LED turning off on face changes
This commit is contained in:
@@ -386,10 +386,6 @@ bool settings_face_loop(movement_event_t event, void *context) {
|
||||
watch_clear_display();
|
||||
state->settings_screens[state->current_page].display(event.subsecond);
|
||||
break;
|
||||
case EVENT_MODE_BUTTON_UP:
|
||||
movement_force_led_off();
|
||||
movement_move_to_next_face();
|
||||
return true;
|
||||
case EVENT_ALARM_BUTTON_UP:
|
||||
state->settings_screens[state->current_page].advance();
|
||||
break;
|
||||
@@ -408,13 +404,11 @@ bool settings_face_loop(movement_event_t event, void *context) {
|
||||
color.blue | color.blue << 4);
|
||||
return true;
|
||||
} else {
|
||||
movement_force_led_off();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
void settings_face_resign(void *context) {
|
||||
(void) context;
|
||||
movement_force_led_off();
|
||||
movement_store_settings();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user