diff options
| author | hathach <[email protected]> | 2018-03-23 14:57:17 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-23 14:57:17 +0700 |
| commit | 9dd20e3ede9acae1b20135abdb187bd444d04570 (patch) | |
| tree | 198a1b0f9f32e9344d691d5a7c8841132e190429 /tinyusb/device/usbd.h | |
| parent | 63aa3ab2c97c271c8d39e625763eb6faa68d500a (diff) | |
fix compatible issue with MacOS, response to GET CONFIGURATION request
Diffstat (limited to 'tinyusb/device/usbd.h')
| -rw-r--r-- | tinyusb/device/usbd.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tinyusb/device/usbd.h b/tinyusb/device/usbd.h index 66ffb9b2a..545b636d8 100644 --- a/tinyusb/device/usbd.h +++ b/tinyusb/device/usbd.h @@ -70,27 +70,6 @@ typedef struct { // define by application
extern tusbd_descriptor_pointer_t tusbd_descriptor_pointers;
-typedef struct {
- void (* init) (void);
- tusb_error_t (* open)(uint8_t rhport, tusb_desc_interface_t const * desc_intf, uint16_t* p_length);
- tusb_error_t (* control_request_st) (uint8_t rhport, tusb_control_request_t const *);
- tusb_error_t (* xfer_cb) (uint8_t rhport, uint8_t ep_addr, tusb_event_t, uint32_t);
-// void (* routine)(void);
- void (* sof)(uint8_t rhport);
- void (* close) (uint8_t);
-} usbd_class_driver_t;
-
-
-enum {
- USBD_INTERFACE_NUM_MAX = 16 // USB specs specify up to 16 endpoints per device
-};
-
-
-typedef struct {
- volatile uint8_t state;
- uint8_t interface2class[USBD_INTERFACE_NUM_MAX]; // determine interface number belongs to which class
-}usbd_device_info_t;
-
//--------------------------------------------------------------------+
// APPLICATION API
//--------------------------------------------------------------------+
|
