summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-07-30 20:28:39 +0700
committerhathach <[email protected]>2019-07-30 20:28:39 +0700
commit2c2db31b095724fc8fc914f3c07641765ee0dc90 (patch)
tree4106f4e5c716abd031b64de372a269b8b5e5e62d
parent1e7f1de4d766e846ec43d5b345a7dc545d98335b (diff)
clean up
-rw-r--r--src/common/tusb_types.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h
index 8358d7e66..e7c0c93e6 100644
--- a/src/common/tusb_types.h
+++ b/src/common/tusb_types.h
@@ -68,7 +68,6 @@ typedef enum
TUSB_DIR_IN_MASK = 0x80
}tusb_dir_t;
-
/// USB Descriptor Types
typedef enum
{
@@ -228,7 +227,7 @@ enum
};
-enum
+typedef enum
{
MS_OS_20_SET_HEADER_DESCRIPTOR = 0x00,
MS_OS_20_SUBSET_HEADER_CONFIGURATION = 0x01,
@@ -239,7 +238,7 @@ enum
MS_OS_20_FEATURE_MODEL_ID = 0x06,
MS_OS_20_FEATURE_CCGP_DEVICE = 0x07,
MS_OS_20_FEATURE_VENDOR_REVISION = 0x08
-}microsoft_os_20_type_t;
+} microsoft_os_20_type_t;
//--------------------------------------------------------------------+
// USB Descriptors