Closed gkiranps closed 8 months ago
Amazing Project, Thanks for sharing. Found a tiny bug.
In ESP32_LEDMatrix_I2S.ino iWidth is not initialized.
int x, y, iWidth;
usPalette = pDraw->pPalette; y = pDraw->iY + pDraw->y; // current line
s = pDraw->pPixels; if (pDraw->ucDisposalMethod == 2) // restore to background color { for (x = 0; x < iWidth; x++)
Can be fixed by adding on line 69 iWidth = pDraw->iWidth;
Thanx
I didn't write that example sketch. Can you make the correction and submit a PR?
Amazing Project, Thanks for sharing. Found a tiny bug.
In ESP32_LEDMatrix_I2S.ino iWidth is not initialized.
int x, y, iWidth;
usPalette = pDraw->pPalette; y = pDraw->iY + pDraw->y; // current line
s = pDraw->pPixels; if (pDraw->ucDisposalMethod == 2) // restore to background color { for (x = 0; x < iWidth; x++)
Can be fixed by adding on line 69 iWidth = pDraw->iWidth;
Thanx