summaryrefslogtreecommitdiff
path: root/src/host/hcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-09-05 14:28:58 +0700
committerhathach <[email protected]>2020-09-05 14:41:31 +0700
commitf7cf8cdf27a016093df65c0de7167685e407d014 (patch)
tree1a4e6af229e66d9fa6f1b43f56e3f86d7210a0a2 /src/host/hcd.h
parent4d57b4ea336d0ba89b97b388aa02f15c2d947a2a (diff)
defer xfer_isr to xfer_cb
Diffstat (limited to 'src/host/hcd.h')
-rw-r--r--src/host/hcd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h
index 24cc62501..da530421d 100644
--- a/src/host/hcd.h
+++ b/src/host/hcd.h
@@ -51,17 +51,17 @@ typedef struct
{
uint8_t rhport;
uint8_t event_id;
+ uint8_t dev_addr;
union
{
- struct
- {
+ struct {
uint8_t hub_addr;
uint8_t hub_port;
} attach, remove;
- struct
- {
+ // XFER_COMPLETE
+ struct {
uint8_t ep_addr;
uint8_t result;
uint32_t len;