summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-03-03 23:22:23 +0700
committerhathach <[email protected]>2025-03-03 23:22:23 +0700
commit5f447b76ad23e8c977a5167b0b4dce93cd2980de (patch)
tree70f0c1a6e0a180628cbbfacbd3bad0ba0bc3daf4 /src/common
parent93ff3daa116471e41615b85cd7d466cc48bc2148 (diff)
- add tuh_descriptor_get_string_langid() API
- host enumeration always get language id, manufacturer, product and serial string. Which is required by some device such as 8bitdo
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h
index 42ce5fc12..71af132af 100644
--- a/src/common/tusb_types.h
+++ b/src/common/tusb_types.h
@@ -462,7 +462,7 @@ TU_VERIFY_STATIC( sizeof(tusb_desc_interface_assoc_t) == 8, "size is not correct
typedef struct TU_ATTR_PACKED {
uint8_t bLength ; ///< Size of this descriptor in bytes
uint8_t bDescriptorType ; ///< Descriptor Type
- uint16_t unicode_string[];
+ uint16_t utf16le[];
} tusb_desc_string_t;
// USB Binary Device Object Store (BOS)