Commit efd291fb234774041c9f0dc7394416c9ef3c889d
1 parent
47ec0d5e
rm printf
Showing
1 changed file
with
0 additions
and
3 deletions
Show diff stats
src/libusb_wrapper.c
@@ -280,9 +280,6 @@ char getOnlyEndpoint(struct libusb_interface * interface){ | @@ -280,9 +280,6 @@ char getOnlyEndpoint(struct libusb_interface * interface){ | ||
280 | 280 | ||
281 | const struct libusb_interface_descriptor * interface_desc = &interface->altsetting[0]; | 281 | const struct libusb_interface_descriptor * interface_desc = &interface->altsetting[0]; |
282 | 282 | ||
283 | - printf("--bNumEndpoints=%d\n", interface_desc->bNumEndpoints); | ||
284 | - printf("--bDescriptorType=%d\n", interface_desc->bDescriptorType); | ||
285 | - | ||
286 | const struct libusb_endpoint_descriptor * endpoint_desc = &interface_desc->endpoint[0]; | 283 | const struct libusb_endpoint_descriptor * endpoint_desc = &interface_desc->endpoint[0]; |
287 | 284 | ||
288 | if(endpoint_desc->bmAttributes != LIBUSB_TRANSFER_TYPE_INTERRUPT)//ON PEUT VERIFIER LE TRANSFER TYPE | 285 | if(endpoint_desc->bmAttributes != LIBUSB_TRANSFER_TYPE_INTERRUPT)//ON PEUT VERIFIER LE TRANSFER TYPE |