]> git.earman.xyz Git - sensor-watch.git/commitdiff
improve decimal display outside positions 4 and 6
authorjoeycastillo <joeycastillo@utexas.edu>
Sun, 6 Oct 2024 15:28:54 +0000 (11:28 -0400)
committerjoeycastillo <joeycastillo@utexas.edu>
Sun, 6 Oct 2024 15:28:54 +0000 (11:28 -0400)
watch-library/shared/watch/watch_common_display.c

index 96b9032da026779c92da41d66318f0f22198d446..7e443293bca78b95ed9d037a2ed69fd1efe4ed82 100644 (file)
@@ -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