add control xfer for ehci controller fake: ehci_controller_control_xfer_proceed

refractor test code
This commit is contained in:
hathach
2013-04-05 14:00:37 +07:00
parent fcb8e295ec
commit 68dddefe7b
8 changed files with 182 additions and 14 deletions

View File

@@ -59,7 +59,7 @@ 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 direction : 1; /**< Direction type. */
uint8_t direction : 1; /**< Direction type. tusb_direction_t */
} bmRequestType;
uint8_t bRequest;