This commit is contained in:
2026-02-13 14:42:07 -08:00
parent df0527b123
commit fbc02af589
670 changed files with 55968 additions and 51275 deletions

View File

@@ -59,12 +59,11 @@ int32_t mySeek(PNGFILE *handle, int32_t position) {
}
// Function to draw pixels to the display
int PNGDraw(PNGDRAW *pDraw) {
void PNGDraw(PNGDRAW *pDraw) {
uint16_t usPixels[320];
png.getLineAsRGB565(pDraw, usPixels, PNG_RGB565_LITTLE_ENDIAN, 0xffffffff);
tft.writeRect(0, pDraw->y + 24, pDraw->iWidth, 1, usPixels);
return 1;
}
// Main loop, scan for all .PNG files on the card and display them