Unverified Commit 71a222f7 authored by Bodmer's avatar Bodmer Committed by GitHub

Fix #276

Fixes warning/error that is only reported with certain compiler warning flag settings ("All" in Arduino IDE).
parent 2a02c81c
...@@ -1251,7 +1251,7 @@ void TFT_eSPI::pushImage(int32_t x, int32_t y, uint32_t w, uint32_t h, uint8_t * ...@@ -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); //else drawPixel((dw-len)+xp,h-dh,bitmap_bg);
xp++; xp++;
} }
*ptr++; ptr++;
len -= 8; len -= 8;
} }
...@@ -1400,7 +1400,7 @@ void TFT_eSPI::pushImage(int32_t x, int32_t y, uint32_t w, uint32_t h, uint8_t * ...@@ -1400,7 +1400,7 @@ void TFT_eSPI::pushImage(int32_t x, int32_t y, uint32_t w, uint32_t h, uint8_t *
px++; px++;
xp++; xp++;
} }
*ptr++; ptr++;
len -= 8; len -= 8;
} }
if (np) pushColor(bitmap_fg, np); if (np) pushColor(bitmap_fg, np);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment