]> git.earman.xyz Git - sensor-watch.git/commit
Fix ppm fractional display on finetune Frq page
authorTim Douglas <me@timdoug.com>
Wed, 27 May 2026 03:05:58 +0000 (23:05 -0400)
committerTim Douglas <me@timdoug.com>
Wed, 27 May 2026 03:15:06 +0000 (23:15 -0400)
commitb178390e75952976dcdc05bd977fd55d9d8ae808
treeb992959913bad61df304ad2722ad49b15ed715a0
parenta8ea642d353ed8be48d9a3e583bf7c8b0764f4d3
Fix ppm fractional display on finetune Frq page

The Frq page used remainderf to extract the fractional part of the
correction value, but remainderf rounds to the nearest integer and
returns negative results when the fraction exceeds 0.5. This caused
values like 0.965 ppm to render as " 0-350" instead of " 09650".
Switch to fmodf, matching the DELtA page above.
watch-faces/settings/finetune_face.c