• Ludovic Rousseau's avatar
    InterruptStop(): Log the libusb text instead of number · 68ece95c
    Ludovic Rousseau authored
    If libusb_cancel_transfer() fails we now use libusb_error_name() to get the
    error message in text instead of just the error number.
    
    The log message is now
    00000008 ccid_usb.c:1399:InterruptStop() libusb_cancel_transfer failed: LIBUSB_ERROR_NOT_FOUND
    instead of:
    00000007 ccid_usb.c:1399:InterruptStop() libusb_cancel_transfer failed: -5
    68ece95c
ccid_usb.c 49.6 KB