summaryrefslogtreecommitdiff
path: root/src/host/hcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-09-05 20:20:45 +0700
committerhathach <[email protected]>2020-09-05 20:20:45 +0700
commit828f720207d4ded25ed533ea6c52da49c799b476 (patch)
tree54c0dbfdf9eeb0a01f5ee23ea1f380da526284f3 /src/host/hcd.h
parent7ffb6acc1625022d8a79c1d408b11240707136ca (diff)
refactor hub class
- separate connect/disconnect handling - hub work with full speed, but doesn't seem to work with Low speed device (with mcb1800) - need to update msc host after migrating from isr to xfer_cb (blocked at inquiry)
Diffstat (limited to 'src/host/hcd.h')
-rw-r--r--src/host/hcd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h
index eebf2c801..ba3035300 100644
--- a/src/host/hcd.h
+++ b/src/host/hcd.h
@@ -55,10 +55,11 @@ typedef struct
union
{
+ // Attach, Remove
struct {
uint8_t hub_addr;
uint8_t hub_port;
- } attach, remove;
+ } connection;
// XFER_COMPLETE
struct {