You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to get around the error above by modifying the following in code.
int JPEGDraw(JPEGDRAW *pDraw)
{
// Stop further decoding as image is running off bottom of screen
if ( pDraw->y >= dma_display->height() ){
return 0;
}
dma_display->drawRGBBitmap(pDraw->x, pDraw->y, pDraw->pPixels, pDraw->iWidth, pDraw->iHeight);
return 1;
}
However, I'm getting a new error now that looks be in the JPEGDEC library. Any ideas? I'm using PlatformIO.
In file included from src/main.cpp:47:
.pio/libdeps/wemos_d1_mini32/JPEGDEC/src/JPEGDEC.h:216:14: error: 'File' has not been declared
int open(File &file, JPEG_DRAW_CALLBACK *pfnDraw);
^~~~
In file included from src/main.cpp:47:
.pio/libdeps/wemos_d1_mini32/JPEGDEC/src/JPEGDEC.h:216:14: error: 'File' has not been declared
int open(File &file, JPEG_DRAW_CALLBACK *pfnDraw);
^~~~
I'm using a TFT_eSPI library, and disabling the SMOOTH_FONT in the TFT Setup I fixed it. Maybe could have relation with your issue.
Tested to work with
Error with 1.2.2+ is
The text was updated successfully, but these errors were encountered: