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

Commit

Permalink
remove obsolete size check
Browse files Browse the repository at this point in the history
  • Loading branch information
neophob committed Oct 22, 2013
1 parent b2a9584 commit 073e6f9
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ public int sendRgbFrame(byte ofs, int[] data, ColorFormat colorFormat, int total
* @throws IllegalArgumentException the illegal argument exception
*/
public int sendFrame(byte ofs, byte data[], int totalPanels) throws IllegalArgumentException {
if (data.length!=128) {
throw new IllegalArgumentException("data lenght must be 128 bytes!");
}
byte[] imagePayload = Tpm2NetProtocol.createImagePayload(ofs, totalPanels, data);

if (sendData(imagePayload)) {
Expand Down

0 comments on commit 073e6f9

Please sign in to comment.