Merge pull request #159 from neutralinsomniac/remove-unnecessary-conditional
remove unnecessary conditional in simple clock face
This commit is contained in:
commit
6ee84e7d6b
@ -140,13 +140,7 @@ bool simple_clock_face_loop(movement_event_t event, movement_settings_t *setting
|
|||||||
case EVENT_BACKGROUND_TASK:
|
case EVENT_BACKGROUND_TASK:
|
||||||
// uncomment this line to snap back to the clock face when the hour signal sounds:
|
// uncomment this line to snap back to the clock face when the hour signal sounds:
|
||||||
// movement_move_to_face(state->watch_face_index);
|
// movement_move_to_face(state->watch_face_index);
|
||||||
if (watch_is_buzzer_or_led_enabled()) {
|
movement_play_signal();
|
||||||
// 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();
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user