- 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:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user