Skip to content

Commit 6c28783

Browse files
committed
led_matrix: fix begin() when used with ArduinoGraphics
Fixes arduino#282 (comment)
1 parent 42f98f5 commit 6c28783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ class ArduinoLEDMatrix
169169
void off(size_t pin) {
170170
turnLed(pin, false);
171171
}
172-
bool begin() {
172+
int begin() {
173173
bool rv = true;
174174
uint8_t type;
175175
int8_t ch = FspTimer::get_available_timer(type);

0 commit comments

Comments
 (0)