You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good day!
You asked 'If you have found a bug in the software or this web site (even if it's just a typo) then please create an issue on GitHub.'
So, typo is in here http://usb4java.org/quickstart/libusb.html
Section: Interfaces
// Check if kernel driver must be detached
boolean detach = LibUsb.hasCapability(LibUsb.CAP_SUPPORTS_DETACH_KERNEL_DRIVER)
&& LibUsb.kernelDriverActive(handle, interfaceNumber);
LibUsb.hasCapability() returns boolean and LibUsb.kernelDriverActive() returns int. If we use && is won't compile.
2. Also I didn't see platform where LibUsb.hasCapability(LibUsb.CAP_SUPPORTS_DETACH_KERNEL_DRIVER) returns 'true'. Is it possible to get this feature at usb4java-1.3.0?
Thanks!
Activity