Skip to content

Commit

Permalink
Remove the override that prevents Sync Bulk Transfers from working in…
Browse files Browse the repository at this point in the history
… Async mode.

This is required for the fadecandy init code to work, until such time as we
make it async.
  • Loading branch information
nomis52 committed Dec 21, 2014
1 parent b3836a9 commit ceb2ed8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
11 changes: 0 additions & 11 deletions plugins/usbdmx/LibUsbAdaptor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -355,17 +355,6 @@ int AsyncronousLibUsbAdaptor::ControlTransfer(
return LIBUSB_ERROR_NOT_SUPPORTED;
}

int AsyncronousLibUsbAdaptor::BulkTransfer(
OLA_UNUSED struct libusb_device_handle *dev_handle,
OLA_UNUSED unsigned char endpoint,
OLA_UNUSED unsigned char *data,
OLA_UNUSED int length,
OLA_UNUSED int *transferred,
OLA_UNUSED unsigned int timeout) {
OLA_WARN << "libusb_bulk_transfer in an AsyncronousLibUsbAdaptor";
return LIBUSB_ERROR_NOT_SUPPORTED;
}

int AsyncronousLibUsbAdaptor::InterruptTransfer(
OLA_UNUSED libusb_device_handle *dev_handle,
OLA_UNUSED unsigned char endpoint,
Expand Down
7 changes: 0 additions & 7 deletions plugins/usbdmx/LibUsbAdaptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -533,13 +533,6 @@ class AsyncronousLibUsbAdaptor : public BaseLibUsbAdaptor {
uint16_t wLength,
unsigned int timeout);

int BulkTransfer(struct libusb_device_handle *dev_handle,
unsigned char endpoint,
unsigned char *data,
int length,
int *transferred,
unsigned int timeout);

int InterruptTransfer(libusb_device_handle *dev_handle,
unsigned char endpoint,
unsigned char *data,
Expand Down

0 comments on commit ceb2ed8

Please sign in to comment.