summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-03-05 22:25:58 +0700
committerhathach <[email protected]>2025-03-05 22:25:58 +0700
commit3ea71b67b1b5d0033e7938c9ee310a9fbcfcc805 (patch)
tree3c646feeb40872472e6d252232e313cafb43aa8e /src/common
parentb91d5ebb4509d02d108e249197884913698aac1c (diff)
parent6bba41045a4224abb68256dcf2fce893da47a743 (diff)
Merge branch 'master' into fork/pschatzmann/rp2040-iso
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_types.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h
index 9e4d9380c..71af132af 100644
--- a/src/common/tusb_types.h
+++ b/src/common/tusb_types.h
@@ -302,9 +302,9 @@ typedef enum {
enum {
CONTROL_STAGE_IDLE = 0,
- CONTROL_STAGE_SETUP,
- CONTROL_STAGE_DATA,
- CONTROL_STAGE_ACK
+ CONTROL_STAGE_SETUP, // 1
+ CONTROL_STAGE_DATA, // 2
+ CONTROL_STAGE_ACK // 3
};
enum {
@@ -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)