]> git.earman.xyz Git - sensor-watch.git/commit
Enable custom signal tones in LE mode.
authorWesley Aptekar-Cassels <me@wesleyac.com>
Mon, 13 Nov 2023 05:48:57 +0000 (00:48 -0500)
committerWesley Aptekar-Cassels <me@wesleyac.com>
Tue, 9 Jan 2024 21:22:21 +0000 (16:22 -0500)
commite9fe4aeefe7e56d637f7fbf35772f5bb37aff911
treefc47972b343973aab5f8ce57be77a31a1c921d10
parent3ee32c6e57e9a741355251f33fbcc323ded249d8
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.c
movement/movement_config.h
movement/watch_faces/clock/repetition_minute_face.c
movement/watch_faces/clock/simple_clock_bin_led_face.c
movement/watch_faces/clock/simple_clock_face.c
movement/watch_faces/clock/weeknumber_clock_face.c
watch-library/hardware/watch/watch_buzzer.c
watch-library/shared/watch/watch_buzzer.h