Fix #276
Fixes warning/error that is only reported with certain compiler warning flag settings ("All" in Arduino IDE).
This commit is contained in:
parent
2a02c81c69
commit
71a222f704
|
|
@ -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 *
|
||||||
px++;
|
px++;
|
||||||
xp++;
|
xp++;
|
||||||
}
|
}
|
||||||
*ptr++;
|
ptr++;
|
||||||
len -= 8;
|
len -= 8;
|
||||||
}
|
}
|
||||||
if (np) pushColor(bitmap_fg, np);
|
if (np) pushColor(bitmap_fg, np);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue