- delay of 1 second before reopening the device (it was not always recongnised by the USB-system)

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@139 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
This commit is contained in:
schlaepfer
2006-04-28 06:13:13 +00:00
parent 0232563df7
commit ac1a015833

View File

@@ -126,6 +126,10 @@ public class Device {
logger.info("reset on first open");
resetDone = true;
reset();
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
}
open(configuration, interface_, altinterface);
}
}