]> git.earman.xyz Git - sensor-watch.git/commit
faces/clock: refactor daily battery check
authorMatheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Sun, 25 Feb 2024 01:31:12 +0000 (22:31 -0300)
committerMatheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Sun, 25 Feb 2024 18:24:14 +0000 (15:24 -0300)
commit0773439a4930f644924c10d42786aaa20b3060bd
treef40ef8b8063885d6f86ab8d523947b945d52de98
parent91713392a5524bf9d10ccd39066643e39ab83b37
faces/clock: refactor daily battery check

Move the code in question to a dedicated function. Better organized.
Add overridable preprocessor definition for the low battery threshold.
movement/watch_faces/clock/clock_face.c