Skip to content

Commit c0718c2

Browse files
committed
led_matrix: add compatibily layer with UNO R4
1 parent 132b638 commit c0718c2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

libraries/Arduino_LED_Matrix/src/Arduino_LED_Matrix.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,4 +236,7 @@ class Arduino_LED_Matrix
236236
bool _loop = false;
237237
bool _sequenceDone = false;
238238
voidFuncPtr _callBack;
239-
};
239+
};
240+
241+
// For backwards compatibility, also define the class name without underscores
242+
typedef Arduino_LED_Matrix ArduinoLEDMatrix;

0 commit comments

Comments
 (0)