summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2025-06-27 21:47:13 +0700
committerGitHub <[email protected]>2025-06-27 21:47:13 +0700
commitcd96277bdc7ec83fd414a7a5aa8e61fa14d28a45 (patch)
treecdf05f0749bea3b4261ce597f519abc7fa0fc7e0 /src/common
parentcc12306e4b3a2f960d1105fa07059ea57d04d5d2 (diff)
parentd86362414e9c467d93f37672228e220a718de81d (diff)
Merge pull request #2488 from IngHK/cdch_upgrade
CHCh Upgrade: Improved FTDI and CP210x support, add PL2303 support, bugfixes
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h
index fd7f01b67..ec7aad796 100644
--- a/src/common/tusb_types.h
+++ b/src/common/tusb_types.h
@@ -278,6 +278,8 @@ typedef enum {
XFER_RESULT_INVALID
} xfer_result_t;
+#define tusb_xfer_result_t xfer_result_t
+
// TODO remove
enum {
DESC_OFFSET_LEN = 0,
@@ -345,7 +347,6 @@ typedef struct TU_ATTR_PACKED {
uint8_t iManufacturer ; ///< Index of string descriptor describing manufacturer.
uint8_t iProduct ; ///< Index of string descriptor describing product.
uint8_t iSerialNumber ; ///< Index of string descriptor describing the device's serial number.
-
uint8_t bNumConfigurations ; ///< Number of possible configurations.
} tusb_desc_device_t;