From: joeycastillo Date: Sun, 6 Oct 2024 15:28:54 +0000 (-0400) Subject: improve decimal display outside positions 4 and 6 X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=bfc791cdbf1a84942ce821383e211d3ff66c8787;p=sensor-watch.git improve decimal display outside positions 4 and 6 --- diff --git a/watch-library/shared/watch/watch_common_display.c b/watch-library/shared/watch/watch_common_display.c index 96b9032..7e44329 100644 --- a/watch-library/shared/watch/watch_common_display.c +++ b/watch-library/shared/watch/watch_common_display.c @@ -70,6 +70,7 @@ void watch_display_character(uint8_t character, uint8_t position) { } else { if (character == 'u') character = 'v'; // we can use the bottom segment; move to lower half else if (character == 'j') character = 'J'; // same but just display a normal J + else if (character == '.') character = '_'; // we can use the bottom segment; make dot an underscore } if (position > 1) { if (character == 'T') character = 't'; // uppercase T only works in positions 0 and 1