diff options
author | Pete Batard <pbatard@gmail.com> | 2010-05-05 23:07:18 +0100 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2010-05-05 23:07:18 +0100 |
commit | 71eaaccde2c6ff09d3c772f8d99981d20787b2d3 (patch) | |
tree | 8f8a12be46a1ba8c12682330837c135e9b271503 /examples | |
parent | 91f223d55cb434a325d1330ff0f743d87fdcc374 (diff) | |
download | libusb-71eaaccde2c6ff09d3c772f8d99981d20787b2d3.tar.gz |
disabled autoclaim in windows_usb.c and removed its use in xusb.cr275
Diffstat (limited to 'examples')
-rw-r--r-- | examples/xusb.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/xusb.c b/examples/xusb.c index d2b9a7b..4ebd37a 100644 --- a/examples/xusb.c +++ b/examples/xusb.c @@ -666,8 +666,6 @@ int test_device(uint16_t vid, uint16_t pid) } libusb_free_config_descriptor(conf_desc); - // On Windows, autoclaim will sort things out -#ifndef OS_WINDOWS for (iface = 0; iface < nb_ifaces; iface++) { printf("\nClaiming interface %d...\n", iface); @@ -686,7 +684,6 @@ int test_device(uint16_t vid, uint16_t pid) perr(" Failed.\n"); } } -#endif printf("\nReading string descriptors:\n"); r = libusb_get_string_descriptor(handle, 0, 0, string, 128); |