summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-10-18 22:16:21 +0700
committerhathach <[email protected]>2024-10-18 22:16:21 +0700
commit61b33ca926065cd25a2045077ab96dd990ce2560 (patch)
tree3ed93f81231a0099a4e2186bc22deed173d37da4 /src/common
parent42b6f30edaf91196ecdaaebb36385bcc3f312d17 (diff)
testing hcd with f723 due to h743eval issue with mfx vbus drive.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tusb_types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h
index 53bb367cb..0faa6eee9 100644
--- a/src/common/tusb_types.h
+++ b/src/common/tusb_types.h
@@ -41,8 +41,8 @@
typedef enum {
TUSB_ROLE_INVALID = 0,
- TUSB_ROLE_DEVICE,
- TUSB_ROLE_HOST,
+ TUSB_ROLE_DEVICE = 0x1,
+ TUSB_ROLE_HOST = 0x2,
} tusb_role_t;
/// defined base on EHCI specs value for Endpoint Speed