mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 17:25:13 +03:00
Possible display overflow
This commit is contained in:
parent
5b2530ba79
commit
7467213bad
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ void lcd_putcAtt(xcoord_t x, uint8_t y, const unsigned char c, LcdFlags flags)
|
|||
}
|
||||
#endif
|
||||
|
||||
if (p<lineEnd && !BLINKING_CHAR) {
|
||||
if (p<DISPLAY_END && p<lineEnd && !BLINKING_CHAR) {
|
||||
ASSERT_IN_DISPLAY(p);
|
||||
uint8_t mask = ~(0xff << ym8);
|
||||
LCD_BYTE_FILTER(p, mask, b << ym8);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue