Skip to content

Commit a338a5e

Browse files
authored
Merge pull request #233 from lucarin91/matrix-write-signature
fix: matrixWrite method signature
2 parents d23aa26 + c708e1c commit a338a5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/Arduino_LED_Matrix/src/Arduino_LED_Matrix.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ void matrixEnd(void);
77
void matrixPlay(uint8_t *buf, uint32_t len);
88
void matrixSetGrayscaleBits(uint8_t _max);
99
void matrixGrayscaleWrite(uint8_t *buf);
10-
void matrixWrite(uint8_t *buf);
10+
void matrixWrite(uint32_t *buf);
1111
};
1212

1313
#if __has_include("ArduinoGraphics.h")
@@ -103,7 +103,7 @@ class Arduino_LED_Matrix
103103
}
104104
_sequenceDone = true;
105105
}
106-
matrixWrite((uint8_t *)frame);
106+
matrixWrite(frame);
107107
}
108108

109109
void loadFrame(const uint32_t buffer[4]) {

0 commit comments

Comments
 (0)