summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-03-11 20:11:41 +0700
committerhathach <[email protected]>2026-03-11 20:11:41 +0700
commitd74559ab70c7c4804ee8cf65d9c65d910af06870 (patch)
treebd2f424816fc04e2b7b2988439fd2473901f722d /src/common
parentd13f600721671a603579350be1e9c935a0d40547 (diff)
rename .rx_multiple_packet_transfer to .rx_need_zlp
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/tusb_private.h b/src/common/tusb_private.h
index 543921553..91d213755 100644
--- a/src/common/tusb_private.h
+++ b/src/common/tusb_private.h
@@ -62,8 +62,9 @@ typedef struct {
uint8_t hwid; // device: rhport, host: daddr
bool is_host; // 1: host, 0: device
uint8_t ep_addr;
- uint16_t mps;
+ // 1 byte padding
+ uint16_t mps;
uint16_t xfer_len;
uint8_t *ep_buf; // set to NULL to use xfer_fifo when CFG_TUD_EDPT_DEDICATED_HWFIFO = 1
tu_fifo_t ff;