Skip to content

Commit 00ed928

Browse files
authored
Merge pull request #260 from arduino/fix-259
Fix: do not randomly clear the first line of the LED matrix.
2 parents 2726a01 + ef1a152 commit 00ed928

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Diff for: libraries/Arduino_LED_Matrix/src/Arduino_LED_Matrix.h

-4
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,6 @@ class ArduinoLEDMatrix
265265
// display the drawing
266266
void endDraw() {
267267
ArduinoGraphics::endDraw();
268-
// clear first line (no idea why it gets filled with random bits, probably some math not working fine for super small displays)
269-
for (int i = 0; i < canvasWidth; i++) {
270-
_canvasBuffer[0][i] = 0;
271-
}
272268
renderBitmap(_canvasBuffer, canvasHeight, canvasWidth);
273269
}
274270

0 commit comments

Comments
 (0)