|
|
@ -20,7 +20,10 @@ |
|
|
|
|
|
|
|
|
|
|
|
#define NODEV(err) ((err) == LIBUSB_ERROR_NO_DEVICE || \ |
|
|
|
#define NODEV(err) ((err) == LIBUSB_ERROR_NO_DEVICE || \ |
|
|
|
(err) == LIBUSB_ERROR_PIPE || \ |
|
|
|
(err) == LIBUSB_ERROR_PIPE || \ |
|
|
|
(err) == LIBUSB_ERROR_OTHER) |
|
|
|
(err) == LIBUSB_ERROR_OTHER || \ |
|
|
|
|
|
|
|
(err) == LIBUSB_TRANSFER_NO_DEVICE || \ |
|
|
|
|
|
|
|
(err) == LIBUSB_TRANSFER_STALL || \ |
|
|
|
|
|
|
|
(err) == LIBUSB_TRANSFER_ERROR) |
|
|
|
|
|
|
|
|
|
|
|
#define NOCONTROLDEV(err) ((err) == LIBUSB_ERROR_NO_DEVICE || \ |
|
|
|
#define NOCONTROLDEV(err) ((err) == LIBUSB_ERROR_NO_DEVICE || \ |
|
|
|
(err) == LIBUSB_ERROR_OTHER) |
|
|
|
(err) == LIBUSB_ERROR_OTHER) |
|
|
|