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