improve sunrise/sunset on custom LCD

此提交包含在:
Joey Castillo
2025-03-08 17:40:39 -05:00
父節點 73aac153e2
當前提交 ea47ea2bce
共有 3 個檔案被更改,包括 28 行新增15 行删除

查看文件

@@ -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

查看文件

@@ -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