14 Commits

Author SHA1 Message Date
joeycastillo
0a9d71e2d4 use consistent naming style for typedefs 2024-10-05 10:36:58 -04:00
joeycastillo
cfd04be4fb refactor watch faces to use new advisory API 2024-09-29 22:14:55 -04:00
joeycastillo
4b8b092594 tick_animation is now sleep_animation (which just displays an indicator on new LCD) 2024-09-29 15:24:43 -04:00
joeycastillo
e88359d1d5 refactor: watch faces no longer need a pointer to settings! 2024-09-29 10:18:11 -04:00
joeycastillo
71922f8e51 refactor movement's alarm_enabled bit to a function call 2024-09-29 08:16:53 -04:00
joeycastillo
c5e5bc1200 refactor movement's 24h mode to a function call 2024-09-29 08:02:20 -04:00
joeycastillo
41ea9e8fc5 Revert "Support leading zero representation for 24h clock"
This reverts commit f633b7634b80d0bf08e491606eab3f10f85d6ece.
2024-09-18 23:34:02 -04:00
Matheus Afonso Martins Moreira
4d6a9345f2 Merge PR #299 - leading zero representation
Adds a movement-wide leading zero 024h representation mode
that's toggleable in the preferences watch face.
Also adds support for the new display mode to existing faces.

I modified the logic a bit to ensure the 24h indicator remains lit
in the simple clock face even when in 024h mode. I also added support
to the more advanced clock face. In the future I will add a compile time
toggle to it as well.

Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/299
2024-09-03 18:49:13 -03:00
Wesley Aptekar-Cassels
e9fe4aeefe 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.
2024-01-09 16:22:21 -05:00
Wesley Aptekar-Cassels
6f4917a0d5 Revert "Merge pull request #283 from neutralinsomniac/fix_hourly_chime_background"
This reverts commit 5c94111ea20e50cb9dab8f416603403185e933b3, reversing
changes made to bc9b4ce700d3f12adc0daceaa880e3d638df0c2b.
2024-01-09 16:22:21 -05:00
Jonathan Glines
f633b7634b Support leading zero representation for 24h clock
Toggle between default behavior and leading zero with long-press of alarm
button on page with 24h setting.
2023-10-29 11:15:50 -04:00
Jeremy O'Brien
45f402b4ec move buzzer enabled detection logic into movement for movement_play_signal/tune
this way watch faces don't have to disable/enable the buzzer themselves
before calling movement_play_signal() and movement_play_tune()
2023-09-23 10:56:12 -04:00
Jeremy O'Brien
bfde84f01d fix signal tunes not firing in background, and split out foreground/background chime functions 2023-09-22 07:29:04 -04:00
Jonas Termeau
36ff634ced New face - Repetition Minute, fork of simple clock with an accessibility feature added : time reading via beeps 2023-02-02 23:07:24 +01:00