summaryrefslogtreecommitdiffstats
path: root/watch-library
diff options
context:
space:
mode:
authorJoey Castillo <jose.castillo@gmail.com>2021-09-14 15:19:21 -0400
committerJoey Castillo <jose.castillo@gmail.com>2021-09-14 15:19:21 -0400
commit21a627aad6ed79949e642e2881f3029c8394cdc5 (patch)
treee1f3e53c3f8ade806ac2d21f8e6171d99892386a /watch-library
parentcb98f29e5778974ebd91b99f9757c63726b62e51 (diff)
downloadSensor-Watch-21a627aad6ed79949e642e2881f3029c8394cdc5.tar.gz
Sensor-Watch-21a627aad6ed79949e642e2881f3029c8394cdc5.tar.bz2
Sensor-Watch-21a627aad6ed79949e642e2881f3029c8394cdc5.zip
lcd: add special case for T in position 1 (fixes #10)
Diffstat (limited to 'watch-library')
-rw-r--r--watch-library/watch/watch_slcd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/watch-library/watch/watch_slcd.c b/watch-library/watch/watch_slcd.c
index cdade07f..7210713a 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) {