Merge pull request #159 from neutralinsomniac/remove-unnecessary-conditional

remove unnecessary conditional in simple clock face
This commit is contained in:
Wesley Ellis 2023-01-08 12:53:16 -05:00 committed by GitHub
commit 6ee84e7d6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,13 +140,7 @@ bool simple_clock_face_loop(movement_event_t event, movement_settings_t *setting
case EVENT_BACKGROUND_TASK:
// uncomment this line to snap back to the clock face when the hour signal sounds:
// movement_move_to_face(state->watch_face_index);
if (watch_is_buzzer_or_led_enabled()) {
// if we are in the foreground, we can just beep.
movement_play_signal();
} else {
// beep quickly (this call blocks for 275 ms),
movement_play_signal();
}
movement_play_signal();
break;
default:
break;