From 0c0eb7f4f526e2844524d32efc6791baf62512de Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Tue, 28 Mar 2023 19:35:00 +0200 Subject: [PATCH] libfxlink: use old libusb for compatibility with 1.0.23 --- libfxlink/devices.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libfxlink/devices.c b/libfxlink/devices.c index 6f0952c..89fd095 100644 --- a/libfxlink/devices.c +++ b/libfxlink/devices.c @@ -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; }