summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-06-30 21:09:40 +0700
committerhathach <[email protected]>2025-06-30 21:09:40 +0700
commit77e142ed76e87ee1f0cda14155b623eeaedc1546 (patch)
treeba238fec907f2d516295f0dd87ac955544126227 /src/common
parentd789a87a7dd65b947f81b320c34d12e140d251ac (diff)
parentcd96277bdc7ec83fd414a7a5aa8e61fa14d28a45 (diff)
Merge branch 'master' into fork/HiFiPhile/async_io
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;