mirror of https://github.com/rusefi/usb4java.git
Document ERROR_BUSY return value
This commit is contained in:
parent
56d32eea99
commit
7ab6e6d3ed
|
@ -1940,11 +1940,12 @@ public final class LibUsb
|
|||
* timeout, use value 0.
|
||||
* @return on success the number of bytes actually transferred,
|
||||
* {@link #ERROR_TIMEOUT} if the transfer timed out,
|
||||
* {@link #ERROR_PIPE} if the control request was not supported by
|
||||
* the device, {@link #ERROR_NO_DEVICE} if the device has been
|
||||
* disconnected, {@link LIBUSB_ERROR_INVALID_PARAM} if the transfer
|
||||
* size is larger than the operating system and/or hardware can
|
||||
* support. Another ERROR code on other failures
|
||||
* {@link #ERROR_PIPE} if the control request was not supported by the device,
|
||||
* {@link #ERROR_NO_DEVICE} if the device has been disconnected,
|
||||
* {@link #ERROR_BUSY} if called from event handling context,
|
||||
* {@link #ERROR_INVALID_PARAM} if the transfer size is larger than the operating system and/or
|
||||
* hardware can support.
|
||||
* Another ERROR code on other failures
|
||||
*/
|
||||
public static native int controlTransfer(final DeviceHandle handle,
|
||||
final byte bmRequestType, final byte bRequest, final short wValue,
|
||||
|
|
Loading…
Reference in New Issue