diff options
| author | hathach <[email protected]> | 2018-03-11 20:16:39 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-11 20:16:39 +0700 |
| commit | ca13d59682e6a9327528dde230e6725c48fb305b (patch) | |
| tree | 53b84ee4bdd88c7f3c5eeee0caa3bb01a978354b /tinyusb/common | |
| parent | e29409d4c833a5004d68f6e4721d2469968dd9a5 (diff) | |
rename tusb_dir_t
Diffstat (limited to 'tinyusb/common')
| -rw-r--r-- | tinyusb/common/std_request.h | 2 | ||||
| -rw-r--r-- | tinyusb/common/tusb_types.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/common/std_request.h b/tinyusb/common/std_request.h index 87d6e5d0f..b20b72ab0 100644 --- a/tinyusb/common/std_request.h +++ b/tinyusb/common/std_request.h @@ -56,7 +56,7 @@ typedef struct ATTR_PACKED{ struct ATTR_PACKED {
uint8_t recipient : 5; ///< Recipient type tusb_std_request_recipient_t.
uint8_t type : 2; ///< Request type tusb_control_request_type_t.
- uint8_t direction : 1; ///< Direction type. tusb_direction_t
+ uint8_t direction : 1; ///< Direction type. tusb_dir_t
} bmRequestType_bit;
uint8_t bmRequestType;
};
diff --git a/tinyusb/common/tusb_types.h b/tinyusb/common/tusb_types.h index d156d5e02..08f49ebe6 100644 --- a/tinyusb/common/tusb_types.h +++ b/tinyusb/common/tusb_types.h @@ -70,7 +70,7 @@ typedef enum TUSB_DIR_DEV_TO_HOST = 1,
TUSB_DIR_DEV_TO_HOST_MASK = 0x80
-}tusb_direction_t;
+}tusb_dir_t;
/// USB Descriptor Types (section 9.4 table 9-5)
|
