remove unnecessary conditional in simple clock face

This commit is contained in:
Jeremy O'Brien 2023-01-05 06:50:29 -05:00
parent ed2d14b18c
commit 3c576a83cf

View File

@ -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;