]> git.earman.xyz Git - sensor-watch.git/commit
faces/clock: refactor low power tick function
authorMatheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Sun, 25 Feb 2024 15:32:31 +0000 (12:32 -0300)
committerMatheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Sun, 25 Feb 2024 18:24:14 +0000 (15:24 -0300)
commit1d79930ab79835222e76567f520a53379ad0546b
treecbbec5a9d25695af6f6ba607fd32dfb71d90541c
parente7052fe4e27361dce45a3eff4ee1f7c21f69aca2
faces/clock: refactor low power tick function

Simplifies the code by defining dedicated functions
and separating the case from the main ones.

Also use the snprintf function since the buffer size is known.
movement/watch_faces/clock/clock_face.c