mirror of
https://git.planet-casio.com/Lephenixnoir/fxsdk.git
synced 2024-12-28 04:23:37 +01:00
libfxlink: use old libusb for compatibility with 1.0.23
This commit is contained in:
parent
1251ca23ee
commit
0c0eb7f4f5
1 changed files with 2 additions and 2 deletions
|
@ -142,10 +142,10 @@ static bool find_fxlink_endpoints(struct fxlink_device *fdev, bool quiet)
|
|||
int type = ed->bmAttributes & LIBUSB_TRANSFER_TYPE_MASK;
|
||||
|
||||
if(dir == LIBUSB_ENDPOINT_OUT
|
||||
&& type == LIBUSB_ENDPOINT_TRANSFER_TYPE_BULK)
|
||||
&& type == LIBUSB_TRANSFER_TYPE_BULK)
|
||||
comm->ep_bulk_OUT = ed->bEndpointAddress;
|
||||
if(dir == LIBUSB_ENDPOINT_IN
|
||||
&& type == LIBUSB_ENDPOINT_TRANSFER_TYPE_BULK)
|
||||
&& type == LIBUSB_TRANSFER_TYPE_BULK)
|
||||
comm->ep_bulk_IN = ed->bEndpointAddress;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue