improve sunrise/sunset on custom LCD

This commit is contained in:
Joey Castillo
2025-03-08 17:40:39 -05:00
parent 73aac153e2
commit ea47ea2bce
3 changed files with 28 additions and 15 deletions

View File

@@ -33,7 +33,7 @@ uint32_t IndicatorSegments[7] = {0};
void watch_display_character(uint8_t character, uint8_t position) {
if (watch_get_lcd_type() == WATCH_LCD_TYPE_CUSTOM) {
if (character == 'R') character = 'r'; // We can't display uppercase R on this display.
if (character == 'R' && position > 1 && position < 8) character = 'r'; // We can't display uppercase R in these positions
else if (character == 'T' && position > 1 && position < 8) character = 't'; // lowercase t is the only option for these positions
} else {
// special cases for positions 4 and 6

View File

@@ -97,7 +97,7 @@ static const uint8_t Custom_LCD_Character_Set[] =
0b00111111, // O
0b01110011, // P
0b01100111, // Q
0b01010000, // R (lowercase, this is the only capital we can't do)
0b11000111, // R
0b01101101, // S
0b10000001, // T (only works in position 0; set (1, 12) to make it work in position 1)
0b00111110, // U