diff options
author | Joey Castillo <jose.castillo@gmail.com> | 2021-09-14 15:19:21 -0400 |
---|---|---|
committer | Joey Castillo <jose.castillo@gmail.com> | 2021-09-14 15:19:21 -0400 |
commit | 21a627aad6ed79949e642e2881f3029c8394cdc5 (patch) | |
tree | e1f3e53c3f8ade806ac2d21f8e6171d99892386a /watch-library/watch | |
parent | cb98f29e5778974ebd91b99f9757c63726b62e51 (diff) | |
download | Sensor-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/watch')
-rw-r--r-- | watch-library/watch/watch_slcd.c | 1 |
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) { |