mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 12:46:32 +01:00
Fix thinko/typo bug introduced in e6c9bcfd07
This commit is contained in:
parent
01c5aa34c6
commit
97306e089b
1 changed files with 1 additions and 1 deletions
|
|
@ -282,7 +282,7 @@ get_usb_device (uint16_t vendor_id, uint16_t product_id, libusb_device** device)
|
||||||
|
|
||||||
out:
|
out:
|
||||||
libusb_free_device_list(devs, 1);
|
libusb_free_device_list(devs, 1);
|
||||||
if (!dev && r != LIBUSB_SUCCESS) {
|
if (!dev && r == LIBUSB_SUCCESS) {
|
||||||
return LIBUSB_ERROR_NO_DEVICE;
|
return LIBUSB_ERROR_NO_DEVICE;
|
||||||
}
|
}
|
||||||
return r;
|
return r;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue