mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-06 14:14:44 +02:00
Fix #276
Fixes warning/error that is only reported with certain compiler warning flag settings ("All" in Arduino IDE).
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user