]> git.earman.xyz Git - sensor-watch.git/commit
Alarm handled using background task.
authorKonrad Rieck <konrad@mlsec.org>
Sat, 9 Mar 2024 19:48:42 +0000 (20:48 +0100)
committerMatheus Afonso Martins Moreira <matheus@matheusmoreira.com>
Sat, 7 Sep 2024 22:59:04 +0000 (19:59 -0300)
commite2ec468754b5d1b43a4debfc7761041d0b9e0e5b
tree7931bc790ff1713a38fc7996749489176db63c6e
parent27ab799e858ff98e66c4d163dc7a2da869e678e8
Alarm handled using background task.

The alarm for deadlines is now handled via a background task. Instead of a scheduled task that prevents sleep mode, the face checks in the background every minute whether an deadline is due. If this is the case, the face wakes up from sleep mode and starts a scheduled task for the remaining seconds.
movement/watch_faces/complication/deadline_face.c
movement/watch_faces/complication/deadline_face.h