summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-07-14 16:42:12 +0700
committerhathach <[email protected]>2021-07-14 16:42:12 +0700
commit95ded08e3b96b77bbbb1e11e7f0043fb86b7316f (patch)
treee94b9823e9e349fc878464260ba80a2c77f1eac1 /src/common
parent5b965a38883efb2d7210d48be6f305c0f31ca8fc (diff)
simplify upload request
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 ec58a3181..fc1035e2c 100644
--- a/src/common/tusb_types.h
+++ b/src/common/tusb_types.h
@@ -449,7 +449,7 @@ typedef struct TU_ATTR_PACKED
/*------------------------------------------------------------------*/
/* Types
*------------------------------------------------------------------*/
-typedef struct TU_ATTR_PACKED{
+typedef struct TU_ATTR_PACKED TU_ATTR_ALIGNED(4) {
union {
struct TU_ATTR_PACKED {
uint8_t recipient : 5; ///< Recipient type tusb_request_recipient_t.