diff options
Diffstat (limited to 'src/usb-device.h')
-rw-r--r-- | src/usb-device.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/usb-device.h b/src/usb-device.h index 9b2bcc4..910a8c9 100644 --- a/src/usb-device.h +++ b/src/usb-device.h @@ -22,6 +22,10 @@ #include <libusb-1.0/libusb.h> +#define USB_READ_EP (LIBUSB_ENDPOINT_IN | 0x1) +#define USB_WRITE_EP (LIBUSB_ENDPOINT_OUT | 0x1) +#define USB_WRITE_DATA_EP (LIBUSB_ENDPOINT_OUT | 0x2) + #include "device.h" enum usb_flash_protocol { |