]> git.earman.xyz Git - sensor-watch.git/commitdiff
use movement_play_signal for default tune (fixes background signal)
authorjoeycastillo <joeycastillo@utexas.edu>
Sun, 24 Sep 2023 16:41:18 +0000 (12:41 -0400)
committerjoeycastillo <joeycastillo@utexas.edu>
Sun, 24 Sep 2023 16:41:18 +0000 (12:41 -0400)
movement/watch_faces/clock/simple_clock_face.c

index 63f49234570f722594eea2db823a37e6d978007b..ac9a97b21a9fb4886605643ddaee829849cbc422 100644 (file)
@@ -136,7 +136,11 @@ 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);
+            #ifdef SIGNAL_TUNE_DEFAULT
+            movement_play_signal();
+            #else
             movement_play_tune();
+            #endif
             break;
         default:
             return movement_default_loop_handler(event, settings);