We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b502d06 + 8198783 commit 7b8b02fCopy full SHA for 7b8b02f
1 file changed
libraries/Arduino_LED_Matrix/src/Arduino_LED_Matrix.h
@@ -73,16 +73,12 @@ class Arduino_LED_Matrix
73
}
74
75
// Plays a video sequence, in grayscale.
76
- void playVideo(uint8_t *buf, uint32_t len) {
77
- matrixPlay(buf, len);
78
- }
79
-
80
void playVideo(const uint8_t *buf, uint32_t len) {
81
- matrixPlay((uint8_t *)buf, len);
+ matrixPlay(buf, len);
82
83
84
// Draws a grayscale picture.
85
- void draw(uint8_t *buf) {
+ void draw(const uint8_t *buf) {
86
matrixGrayscaleWrite(buf);
87
88
0 commit comments