Skip to content
This repository was archived by the owner on Sep 19, 2021. It is now read-only.

Commit 073e6f9

Browse files
committed
remove obsolete size check
1 parent b2a9584 commit 073e6f9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/java/com/neophob/sematrix/output/pixelinvaders/Lpd6803Common.java

-3
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,6 @@ public int sendRgbFrame(byte ofs, int[] data, ColorFormat colorFormat, int total
9595
* @throws IllegalArgumentException the illegal argument exception
9696
*/
9797
public int sendFrame(byte ofs, byte data[], int totalPanels) throws IllegalArgumentException {
98-
if (data.length!=128) {
99-
throw new IllegalArgumentException("data lenght must be 128 bytes!");
100-
}
10198
byte[] imagePayload = Tpm2NetProtocol.createImagePayload(ofs, totalPanels, data);
10299

103100
if (sendData(imagePayload)) {

0 commit comments

Comments
 (0)