From: Joey Castillo Date: Tue, 14 Sep 2021 19:19:21 +0000 (-0400) Subject: lcd: add special case for T in position 1 (fixes #10) X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=21a627aad6ed79949e642e2881f3029c8394cdc5;p=sensor-watch.git lcd: add special case for T in position 1 (fixes #10) --- diff --git a/watch-library/watch/watch_slcd.c b/watch-library/watch/watch_slcd.c index cdade07..7210713 100644 --- a/watch-library/watch/watch_slcd.c +++ b/watch-library/watch/watch_slcd.c @@ -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) {