- assignement of maxPacketSize corrected

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@107 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
This commit is contained in:
schlaepfer
2006-03-08 11:55:34 +00:00
parent 314268157e
commit f3693f284b

View File

@@ -94,7 +94,7 @@ public class Device {
for (int k = 0; k < intDesc.length; k++) {
Usb_Endpoint_Descriptor[] epDesc = intDesc[k].endpoint;
for (int l = 0; l < epDesc.length; l++) {
Math.max(epDesc[l].wMaxPacketSize,
maxPacketSize = Math.max(epDesc[l].wMaxPacketSize,
maxPacketSize);
}
}