Fixes warning/error that is only reported with certain compiler warning flag settings ("All" in Arduino IDE).
This commit is contained in:
Bodmer 2018-12-26 16:46:54 +00:00 committed by GitHub
parent 2a02c81c69
commit 71a222f704
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1251,7 +1251,7 @@ void TFT_eSPI::pushImage(int32_t x, int32_t y, uint32_t w, uint32_t h, uint8_t *
//else drawPixel((dw-len)+xp,h-dh,bitmap_bg);
xp++;
}
*ptr++;
ptr++;
len -= 8;
}
@ -1400,7 +1400,7 @@ void TFT_eSPI::pushImage(int32_t x, int32_t y, uint32_t w, uint32_t h, uint8_t *
px++;
xp++;
}
*ptr++;
ptr++;
len -= 8;
}
if (np) pushColor(bitmap_fg, np);