diff options
| author | hathach <[email protected]> | 2026-03-09 14:28:59 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-03-09 14:28:59 +0700 |
| commit | 4c7bfc4dbec60fb12d542562fd3843005c24300b (patch) | |
| tree | 0128d151c2d4bdb601d688178ad8bd5245134a6c /src/common | |
| parent | 0d4feff0eb01511d413e79109656dd76bf42e77a (diff) | |
refactor: add desc_device_noheader_t to simplify get device descriptor local
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_types.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h index 7d26ac74e..8a48a0f04 100644 --- a/src/common/tusb_types.h +++ b/src/common/tusb_types.h @@ -341,12 +341,10 @@ typedef struct TU_ATTR_PACKED { uint8_t bLength ; ///< Size of this descriptor in bytes. uint8_t bDescriptorType ; ///< DEVICE Descriptor Type. uint16_t bcdUSB ; ///< BUSB Specification Release Number in Binary-Coded Decimal (i.e., 2.10 is 210H). - uint8_t bDeviceClass ; ///< Class code (assigned by the USB-IF). uint8_t bDeviceSubClass ; ///< Subclass code (assigned by the USB-IF). uint8_t bDeviceProtocol ; ///< Protocol code (assigned by the USB-IF). uint8_t bMaxPacketSize0 ; ///< Maximum packet size for endpoint zero (only 8, 16, 32, or 64 are valid). For HS devices is fixed to 64. - uint16_t idVendor ; ///< Vendor ID (assigned by the USB-IF). uint16_t idProduct ; ///< Product ID (assigned by the manufacturer). uint16_t bcdDevice ; ///< Device release number in binary-coded decimal. |
