diff options
| author | hathach <[email protected]> | 2024-09-10 10:44:22 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-09-10 10:44:22 +0700 |
| commit | 867f17acea98fda04fa0bf8e871f61e57044f030 (patch) | |
| tree | 413b6c8fb3f690339be4ac311e46ef1fd88ae84f /src/common | |
| parent | 72ee3b4f48a235aedd53513b5b6db5132a0c093a (diff) | |
change vendor device to use edpt stream API
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_private.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/tusb_private.h b/src/common/tusb_private.h index 373a50256..5a1eb683b 100644 --- a/src/common/tusb_private.h +++ b/src/common/tusb_private.h @@ -42,10 +42,10 @@ typedef struct TU_ATTR_PACKED }tu_edpt_state_t; typedef struct { - bool is_host; // host or device most + bool is_host; // host or device union { - uint8_t daddr; - uint8_t rhport; + uint8_t daddr; // host mode + uint8_t rhport; // device mode uint8_t hwid; }; uint8_t ep_addr; |
