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
"num_iso_packets" is defined in both, "struct usbi_transfer" and also in "struct libusb_transfer".
This can lead to a clash as function "libusb_alloc_transfer" will set the value in "struct usbi_transfer" whereas function "libusb_fill_iso_transfer" will set the value in "struct libusb_transfer" which can lead to a mismatch.
and to remove parameter "num_iso_packets" from structure "struct usbi_transfer" and also remove parameter "num_iso_packets" from function "libusb_fill_iso_transfer" or ignore it (leave as deprecated). That will ensure that there is only one value for "num_iso_packets" and that this value will always be an integral part of the transfer (albeit zero for control,bulk and interrupt transfers) and not some internal control variable.
The text was updated successfully, but these errors were encountered:
"num_iso_packets" is defined in both, "struct usbi_transfer" and also in "struct libusb_transfer".
This can lead to a clash as function "libusb_alloc_transfer" will set the value in "struct usbi_transfer" whereas function "libusb_fill_iso_transfer" will set the value in "struct libusb_transfer" which can lead to a mismatch.
I suggest to change "libusb_alloc_transfer" to :
and to remove parameter "num_iso_packets" from structure "struct usbi_transfer" and also remove parameter "num_iso_packets" from function "libusb_fill_iso_transfer" or ignore it (leave as deprecated). That will ensure that there is only one value for "num_iso_packets" and that this value will always be an integral part of the transfer (albeit zero for control,bulk and interrupt transfers) and not some internal control variable.
The text was updated successfully, but these errors were encountered: