diff options
| author | hathach <[email protected]> | 2025-10-24 14:28:59 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-10-24 14:28:59 +0700 |
| commit | 55c6d07af314627c55d595cc74d0d7694ce6f091 (patch) | |
| tree | 8c54f3aa8dc86dd2782f7cd25dbe0695ede2fe2f /src/common | |
| parent | f39dcae9f1bed1dfcfb239f76677ef980a9976c9 (diff) | |
fix more warnings
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_types.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h index ec01bbf0f..c0b7469ed 100644 --- a/src/common/tusb_types.h +++ b/src/common/tusb_types.h @@ -77,9 +77,9 @@ *------------------------------------------------------------------*/ typedef enum { - TUSB_ROLE_INVALID = 0, - TUSB_ROLE_DEVICE = 0x1, - TUSB_ROLE_HOST = 0x2, + TUSB_ROLE_INVALID = 0u, + TUSB_ROLE_DEVICE = 0x1u, + TUSB_ROLE_HOST = 0x2u, } tusb_role_t; /// defined base on EHCI specs value for Endpoint Speed @@ -178,7 +178,7 @@ typedef enum { } tusb_request_feature_selector_t; typedef enum { - TUSB_REQ_TYPE_STANDARD = 0, + TUSB_REQ_TYPE_STANDARD = 0u, TUSB_REQ_TYPE_CLASS, TUSB_REQ_TYPE_VENDOR, TUSB_REQ_TYPE_INVALID |
