From 3ee32c6e57e9a741355251f33fbcc323ded249d8 Mon Sep 17 00:00:00 2001 From: Wesley Aptekar-Cassels Date: Mon, 13 Nov 2023 00:16:13 -0500 Subject: Use legacy buzzer functions when playing default tune. This allows the default tune to be played in LE mode. Fixes: #275 --- movement/movement_config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'movement/movement_config.h') diff --git a/movement/movement_config.h b/movement/movement_config.h index 6a7f87e0..bafbc5e5 100644 --- a/movement/movement_config.h +++ b/movement/movement_config.h @@ -49,7 +49,8 @@ const watch_face_t watch_faces[] = { */ #define MOVEMENT_SECONDARY_FACE_INDEX (MOVEMENT_NUM_FACES - 2) // or (0) -/* Custom hourly chime tune. Check movement_custom_signal_tunes.h for options */ +/* Custom hourly chime tune. Check movement_custom_signal_tunes.h for options. + * Custom tunes do not currently work in LE mode. */ #define SIGNAL_TUNE_DEFAULT #endif // MOVEMENT_CONFIG_H_ -- cgit v1.2.3 From e9fe4aeefe7e56d637f7fbf35772f5bb37aff911 Mon Sep 17 00:00:00 2001 From: Wesley Aptekar-Cassels Date: Mon, 13 Nov 2023 00:48:57 -0500 Subject: Enable custom signal tones in LE mode. This makes movement_play_signal synchronous when in LE mode, despite using the underlying asynchronous API. It's a bit of a hack, but it should work well enough for now. This also moves the enabling/disabling of the buzzer into the movement_play_signal function, so that watch faces no longer have to do it. --- movement/movement_config.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'movement/movement_config.h') diff --git a/movement/movement_config.h b/movement/movement_config.h index bafbc5e5..067ca44b 100644 --- a/movement/movement_config.h +++ b/movement/movement_config.h @@ -49,8 +49,7 @@ const watch_face_t watch_faces[] = { */ #define MOVEMENT_SECONDARY_FACE_INDEX (MOVEMENT_NUM_FACES - 2) // or (0) -/* Custom hourly chime tune. Check movement_custom_signal_tunes.h for options. - * Custom tunes do not currently work in LE mode. */ +/* Custom hourly chime tune. Check movement_custom_signal_tunes.h for options. */ #define SIGNAL_TUNE_DEFAULT #endif // MOVEMENT_CONFIG_H_ -- cgit v1.2.3