]> git.earman.xyz Git - sensor-watch.git/commitdiff
beep softer when changing modes (saves energy)
authorjoeycastillo <joeycastillo@utexas.edu>
Sat, 12 Oct 2024 15:34:06 +0000 (11:34 -0400)
committerjoeycastillo <joeycastillo@utexas.edu>
Sat, 12 Oct 2024 15:34:06 +0000 (11:34 -0400)
movement.c

index 9d219aeb605ce6fa4a111caf29eab0b178b53469..58e2a985f7602b447c6da9e4008215c6fd5a13d4 100644 (file)
@@ -692,7 +692,7 @@ bool app_loop(void) {
     if (movement_state.watch_face_changed) {
         if (movement_state.settings.bit.button_should_sound) {
             // low note for nonzero case, high note for return to watch_face 0
-            watch_buzzer_play_note(movement_state.next_face_idx ? BUZZER_NOTE_C7 : BUZZER_NOTE_C8, 50);
+            watch_buzzer_play_note_with_volume(movement_state.next_face_idx ? BUZZER_NOTE_C7 : BUZZER_NOTE_C8, 50, WATCH_BUZZER_VOLUME_SOFT);
         }
         wf->resign(watch_face_contexts[movement_state.current_face_idx]);
         movement_state.current_face_idx = movement_state.next_face_idx;