]> git.earman.xyz Git - sensor-watch.git/commit
Fixed bugs and improved watchface
authorKonrad Rieck <konrad@mlsec.org>
Fri, 8 Mar 2024 13:50:32 +0000 (14:50 +0100)
committerMatheus Afonso Martins Moreira <matheus@matheusmoreira.com>
Sat, 7 Sep 2024 22:59:04 +0000 (19:59 -0300)
commit27ab799e858ff98e66c4d163dc7a2da869e678e8
tree61270e971803c92c88c2810586014e445985d4a5
parentc89316b3ecc11d91d32ec3a0c2b36e8260aa6873
Fixed bugs and improved watchface

- A background task is only scheduled if the alarm option is activated. If the option is enabled, an alarm sounds when the next deadline is reached. If the option is disabled, no alarm sounds and the watch can enter low energy sleep.

- Fixed tick frequency error. During running mode, the clock ticks at 1Hz. This is set in the init function `_running_init` and thus ensures that we do not run too fast when returning from the setting mode.

- Minor corrections to comments and indentations.
movement/watch_faces/complication/deadline_face.c
movement/watch_faces/complication/deadline_face.h