diff --git a/src/main/java/org/usb4java/LibUsb.java b/src/main/java/org/usb4java/LibUsb.java index 8757f85..2df3077 100644 --- a/src/main/java/org/usb4java/LibUsb.java +++ b/src/main/java/org/usb4java/LibUsb.java @@ -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,