- logger message added when updating maxNofWordsFastDownload

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@113 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
This commit is contained in:
schlaepfer
2006-03-10 12:26:24 +00:00
parent 1b54b86f64
commit 751814e2f2

View File

@@ -464,6 +464,8 @@ public class MPC555 {
// update the value (now the device should be connected) // update the value (now the device should be connected)
if (maxNofWordsFastDownload <= 0) { if (maxNofWordsFastDownload <= 0) {
maxNofWordsFastDownload = ((device.getMaxPacketSize() - DataPacket.PACKET_MIN_LENGTH) / BDI_DATA35_LENGTH); maxNofWordsFastDownload = ((device.getMaxPacketSize() - DataPacket.PACKET_MIN_LENGTH) / BDI_DATA35_LENGTH);
logger.finer("update maxNofWordsFastDownload: "
+ maxNofWordsFastDownload);
} }
// check if data fits into USB-packet // check if data fits into USB-packet
if (dataLength > maxNofWordsFastDownload) { if (dataLength > maxNofWordsFastDownload) {