summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-07-03 17:07:52 +0700
committerhathach <[email protected]>2025-07-03 17:07:52 +0700
commit970c8b744e2b1b84864690ad7b0129d814528618 (patch)
treec8f3879793f169a5b32e770a032630d8427560b8 /src/common
parentea02e929b4daafb28be30b08609a6f68f64e2a0d (diff)
parent9d872d529ffa0aa53e735b24543c26156798fc64 (diff)
Merge branch 'master' into fork/HiFiPhile/stm32_cache
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 2099e1af8..4735c983a 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;