summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy O'Brien <neutral@fastmail.com>2023-01-05 06:50:29 -0500
committerJeremy O'Brien <neutral@fastmail.com>2023-01-05 06:50:29 -0500
commit3c576a83cf00489959adb7b1e8cadd93156f3c55 (patch)
treee090aea4d5b1e65411c07ee80268ace70ba23550
parented2d14b18cc2ac2c4beee2fae6873d3cdc93730a (diff)
downloadSensor-Watch-3c576a83cf00489959adb7b1e8cadd93156f3c55.tar.gz
Sensor-Watch-3c576a83cf00489959adb7b1e8cadd93156f3c55.tar.bz2
Sensor-Watch-3c576a83cf00489959adb7b1e8cadd93156f3c55.zip
remove unnecessary conditional in simple clock face
-rw-r--r--movement/watch_faces/clock/simple_clock_face.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/movement/watch_faces/clock/simple_clock_face.c b/movement/watch_faces/clock/simple_clock_face.c
index d66e5886..fd1d167c 100644
--- a/movement/watch_faces/clock/simple_clock_face.c
+++ b/movement/watch_faces/clock/simple_clock_face.c
@@ -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;