]> git.earman.xyz Git - sensor-watch.git/commitdiff
Avoid confusion between T and E on classic display
authorLorenzo Prosseda <lerokamut@gmail.com>
Mon, 4 Aug 2025 09:32:32 +0000 (11:32 +0200)
committerJoey Castillo <joeycastillo@utexas.edu>
Mon, 4 Aug 2025 11:11:23 +0000 (07:11 -0400)
In place of T, display a + character in positions 4 and 6

watch-library/shared/watch/watch_common_display.c

index ed558a1bdec7cc1a22ae23a60e7db36846d08efc..86ab352d6441e82b149bf1aa02d8a3a166af80aa 100644 (file)
@@ -57,6 +57,7 @@ void watch_display_character(uint8_t character, uint8_t position) {
             else if (character == 'c') character = 'C'; // C needs to be uppercase
             else if (character == 'J') character = 'j'; // same
             else if (character == 'v' || character == 'V' || character == 'U' || character == 'W' || character == 'w') character = 'u'; // bottom segment duplicated, so show in top half
+            else if (character == 't' || character == 'T') character = '+'; // avoid confusion with uppercase E
         } 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