summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoeycastillo <joeycastillo@utexas.edu>2023-09-24 12:41:18 -0400
committerjoeycastillo <joeycastillo@utexas.edu>2023-09-24 12:41:18 -0400
commitb162dc0663883ed2253af6d0d3c2506f286b95f9 (patch)
treea162e1c7f26e0928323855f6f6a9311fb871f030
parent45f402b4ecbf40c4d33f0945ce05c83db46a3972 (diff)
downloadSensor-Watch-b162dc0663883ed2253af6d0d3c2506f286b95f9.tar.gz
Sensor-Watch-b162dc0663883ed2253af6d0d3c2506f286b95f9.tar.bz2
Sensor-Watch-b162dc0663883ed2253af6d0d3c2506f286b95f9.zip
use movement_play_signal for default tune (fixes background signal)
-rw-r--r--movement/watch_faces/clock/simple_clock_face.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/movement/watch_faces/clock/simple_clock_face.c b/movement/watch_faces/clock/simple_clock_face.c
index 63f49234..ac9a97b2 100644
--- a/movement/watch_faces/clock/simple_clock_face.c
+++ b/movement/watch_faces/clock/simple_clock_face.c
@@ -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);