mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 17:25:13 +03:00
[AVR] Fix last column of last row of DBLSIZE text (off-by-one error)
This commit is contained in:
parent
3b6322181c
commit
bbf88744cb
4 changed files with 8 additions and 1 deletions
|
@ -1181,7 +1181,7 @@ void lcd_putcAtt(coord_t x, uint8_t y, const unsigned char c, LcdFlags flags)
|
|||
b1 = ~b1;
|
||||
b2 = ~b2;
|
||||
}
|
||||
if(&p[LCD_W+1] < DISPLAY_END) {
|
||||
if(p+LCD_W < DISPLAY_END) {
|
||||
ASSERT_IN_DISPLAY(p);
|
||||
ASSERT_IN_DISPLAY(p+LCD_W);
|
||||
LCD_BYTE_FILTER(p, 0, b1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue