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

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);