File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
platform/windows/libusb10emu/libusb-1.0 Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ typedef struct libusb_device_handle_t libusb_device_handle;
71
71
int libusb_open (libusb_device * dev , libusb_device_handle * * handle );
72
72
void libusb_close (libusb_device_handle * dev_handle );
73
73
74
+ int libusb_set_configuration (libusb_device_handle * dev , int configuration );
74
75
int libusb_claim_interface (libusb_device_handle * dev , int interface_number );
75
76
int libusb_release_interface (libusb_device_handle * dev , int interface_number );
76
77
Original file line number Diff line number Diff line change @@ -261,6 +261,12 @@ void libusb_close(libusb_device_handle* dev_handle)
261
261
libusbemu_unregister_device (device);
262
262
}
263
263
264
+ int libusb_set_configuration (libusb_device_handle *dev, int configuration)
265
+ {
266
+ #warning "libusb_set_configuration is just a stub"
267
+ return 0 ;
268
+ }
269
+
264
270
int libusb_claim_interface (libusb_device_handle* dev, int interface_number)
265
271
{
266
272
RAIIMutex lock (dev->dev ->ctx ->mutex );
You can’t perform that action at this time.
0 commit comments