Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 26bb708

Browse files
committedJun 9, 2024·
Also clearing canvas buffer in ArduinoLEDMatrix::clear()
1 parent 711ef1d commit 26bb708

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎libraries/Arduino_LED_Matrix/src/Arduino_LED_Matrix.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ class ArduinoLEDMatrix
260260
0x00000000
261261
};
262262
loadFrame(fullOff);
263+
memset(_canvasBuffer, 0, sizeof(_canvasBuffer));
263264
}
264265

265266

0 commit comments

Comments
 (0)
Please sign in to comment.