]> git.earman.xyz Git - sensor-watch.git/commit
faces/clock: simplify alarm indication function
authorMatheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Sat, 24 Feb 2024 22:36:34 +0000 (19:36 -0300)
committerMatheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Sun, 25 Feb 2024 18:24:14 +0000 (15:24 -0300)
commite2cba9f2f2ed43a9ec4f35749867190aa08de9f9
treecf17bd0c2a02643ce584b1a6fb4c3140d2993866
parente6d8b6aaff4e67aee68c34156f3a781aaa8c2709
faces/clock: simplify alarm indication function

Deduplicates state in the clock state and movement settings.
Makes the code simpler.

Also makes it use the correct indicator.
For some reason it had been switched
with the hourly chime indicator.

    WATCH_INDICATOR_BELL
        The small bell indicating that an alarm is set.

    WATCH_INDICATOR_SIGNAL
        The hourly signal indicator.
        Also useful for indicating that sensors are on.
movement/watch_faces/clock/clock_face.c