From: Joey Castillo Date: Wed, 21 May 2025 03:42:22 +0000 (-0400) Subject: bugfix: need definition of colon as indicator for blinking on custom LCD X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=d43c216664308e290edbf84634d2691b9986df71;p=sensor-watch.git bugfix: need definition of colon as indicator for blinking on custom LCD --- diff --git a/watch-library/shared/watch/watch_common_display.c b/watch-library/shared/watch/watch_common_display.c index 003f270..a06c9db 100644 --- a/watch-library/shared/watch/watch_common_display.c +++ b/watch-library/shared/watch/watch_common_display.c @@ -29,7 +29,7 @@ #include #include -uint32_t IndicatorSegments[7] = { +uint32_t IndicatorSegments[8] = { SLCD_SEGID(0, 17), // WATCH_INDICATOR_SIGNAL SLCD_SEGID(0, 16), // WATCH_INDICATOR_BELL SLCD_SEGID(2, 17), // WATCH_INDICATOR_PM @@ -38,7 +38,8 @@ uint32_t IndicatorSegments[7] = { // Placeholders for indicators unavailable on the original F-91W LCD SLCD_SEGID(4, 0), // WATCH_INDICATOR_ARROWS (does not exist, will set in SDATAL4 which is harmless) - SLCD_SEGID(4, 0) // WATCH_INDICATOR_SLEEP (does not exist, will set in SDATAL4 which is harmless) + SLCD_SEGID(4, 0), // WATCH_INDICATOR_SLEEP (does not exist, will set in SDATAL4 which is harmless) + SLCD_SEGID(4, 0) // WATCH_INDICATOR_COLON (does not exist, will set in SDATAL4 which is harmless) }; void watch_display_character(uint8_t character, uint8_t position) { @@ -387,5 +388,6 @@ void _watch_update_indicator_segments(void) { IndicatorSegments[4] = SLCD_SEGID(1, 0); // WATCH_INDICATOR_LAP IndicatorSegments[5] = SLCD_SEGID(2, 0); // WATCH_INDICATOR_ARROWS IndicatorSegments[6] = SLCD_SEGID(3, 0); // WATCH_INDICATOR_SLEEP + IndicatorSegments[7] = SLCD_SEGID(4, 0); // WATCH_INDICATOR_SLEEP } }