]> git.earman.xyz Git - sensor-watch.git/commitdiff
lcd: add special case for T in position 1 (fixes #10)
authorJoey Castillo <jose.castillo@gmail.com>
Tue, 14 Sep 2021 19:19:21 +0000 (15:19 -0400)
committerJoey Castillo <jose.castillo@gmail.com>
Tue, 14 Sep 2021 19:19:21 +0000 (15:19 -0400)
watch-library/watch/watch_slcd.c

index cdade07fffbdcb483e48c6d1d2bacab10a32f768..7210713a9de3fbf3c4cff1ea90d2c116ece3d444 100644 (file)
@@ -181,6 +181,7 @@ void watch_display_character(uint8_t character, uint8_t position) {
         segmap = segmap >> 8;
         segdata = segdata >> 1;
     }
+    if (character == 'T' && position == 1) slcd_sync_seg_on(&SEGMENT_LCD_0, SLCD_SEGID(1, 12));
 }
 
 void watch_display_string(char *string, uint8_t position) {