1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 09:45:21 +03:00

Re #1926: SMLSIZE last line drawn, gtests expanded with LCD character overlapped test

This commit is contained in:
Damjan Adamic 2014-12-14 09:08:17 +01:00
parent 2d8eacd629
commit 34a2ed0419
10 changed files with 29 additions and 1 deletions

View file

@ -113,7 +113,7 @@ void lcdPutPattern(coord_t x, coord_t y, const uint8_t * pattern, uint8_t width,
for (int8_t j=-1; j<=height; j++) {
bool plot;
if (j < 0 || j == height) {
if (j < 0 || ((j == height) && !(FONTSIZE(flags) == SMLSIZE))) {
plot = false;
if (height >= 12) continue;
if (j<0 && !inv) continue;