mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 09:45:21 +03:00
Fixes #1926: Little display glitches
This commit is contained in:
parent
cb5e283d74
commit
f18a46a2a1
2 changed files with 4 additions and 4 deletions
|
@ -1266,9 +1266,9 @@ void menuGeneralDiagKeys(uint8_t event)
|
|||
}
|
||||
|
||||
if (i<6) {
|
||||
y = (5-i)*FH+MENU_TITLE_HEIGHT+FH;
|
||||
lcd_putsiAtt(0, y, STR_VKEYS, i, 0);
|
||||
displayKeyState(5*FW+2, y, (EnumKeys)(KEY_MENU+i));
|
||||
y = i*FH+MENU_TITLE_HEIGHT+FH;
|
||||
lcd_putsiAtt(0, y, STR_VKEYS, (5-i), 0);
|
||||
displayKeyState(5*FW+2, y, (EnumKeys)(KEY_MENU+(5-i)));
|
||||
}
|
||||
|
||||
#if !defined(PCBTARANIS)
|
||||
|
|
|
@ -185,7 +185,7 @@ void lcd_putcAtt(coord_t x, coord_t y, const unsigned char c, LcdFlags flags)
|
|||
}
|
||||
else if (fontsize == SMLSIZE) {
|
||||
q = (c < 0xc0 ? &font_4x6[(c-0x20)*5] : &font_4x6_extra[(c-0xc0)*5]);
|
||||
lcdPutPattern(x, y, q, 5, 7, flags);
|
||||
lcdPutPattern(x, y, q, 5, 6, flags);
|
||||
}
|
||||
else if (fontsize == TINSIZE) {
|
||||
q = &font_3x5[((uint16_t)c-0x2d)*3];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue