Skip to content

Commit ef1a152

Browse files
committed
Fix: do not randomly clear the first line of the LED matrix.
This fixes #259. Instead the root cause for this issue was within ArduinoGraphics, for a detailed explanation see here: arduino-libraries/ArduinoGraphics#36 .
1 parent 5f1e20f commit ef1a152

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)