]> git.earman.xyz Git - sensor-watch.git/commitdiff
remove unnecessary conditional in simple clock face
authorJeremy O'Brien <neutral@fastmail.com>
Thu, 5 Jan 2023 11:50:29 +0000 (06:50 -0500)
committerJeremy O'Brien <neutral@fastmail.com>
Thu, 5 Jan 2023 11:50:29 +0000 (06:50 -0500)
movement/watch_faces/clock/simple_clock_face.c

index d66e5886a1b6f3f4caf39ba51d2949830981dac0..fd1d167cbba6b8fd8e721c8683cc4fb05d8ae4eb 100644 (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;