diff options
Diffstat (limited to 'daemon/usb.h')
| -rw-r--r-- | daemon/usb.h | 7 | 
1 files changed, 3 insertions, 4 deletions
| diff --git a/daemon/usb.h b/daemon/usb.h index 1a58b26..6e507ae 100644 --- a/daemon/usb.h +++ b/daemon/usb.h @@ -26,8 +26,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA  #include <stdint.h>  #include "utils.h" -#define BULK_IN 0x85 -#define BULK_OUT 0x04 +#define INTERFACE_CLASS 255 +#define INTERFACE_SUBCLASS 254 +#define INTERFACE_PROTOCOL 2  // libusb fragments packets larger than this (usbfs limitation)  // on input, this creates race conditions and other issues @@ -47,8 +48,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA  #define PID_RANGE_LOW 0x1290  #define PID_RANGE_MAX 0x129a -#define USB_INTERFACE 1 -  struct usb_device;  int usb_init(void); | 
