summaryrefslogtreecommitdiff
path: root/tinyusb/core
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-06-27 03:20:14 +0700
committerhathach <[email protected]>2013-06-27 03:20:14 +0700
commitc81c4bb817925f385b45c46857b3f0630edb99ed (patch)
treedd5abf6ca10c6f5dd9119ab00c0c3e44d2af2c87 /tinyusb/core
parentea2e63a332a0d46971f32bd84c84851c2246fe8c (diff)
add set idle request for hidh_open_subtask
add interface number to hidh_interface_info_t refractor hidh_open_subtask to be a true subtask cannot run with set idle code ON because of semaphore misuse
Diffstat (limited to 'tinyusb/core')
-rw-r--r--tinyusb/core/std_request.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/core/std_request.h b/tinyusb/core/std_request.h
index 1cc64285d..15b34e66a 100644
--- a/tinyusb/core/std_request.h
+++ b/tinyusb/core/std_request.h
@@ -58,8 +58,8 @@
typedef ATTR_PREPACKED struct ATTR_PACKED {
ATTR_PREPACKED struct ATTR_PACKED {
- uint8_t recipient : 5; /**< Recipient type. */
- uint8_t type : 2; /**< Request type. */
+ uint8_t recipient : 5; /**< Recipient type tusb_std_request_recipient_t. */
+ uint8_t type : 2; /**< Request type tusb_std_request_type_t. */
uint8_t direction : 1; /**< Direction type. tusb_direction_t */
} bmRequestType;