summaryrefslogtreecommitdiff
path: root/src/host/hcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-07 18:49:26 +0700
committerhathach <[email protected]>2018-12-07 18:49:26 +0700
commit2aa21a14e6f44256d5debe263e4b858ed3342dac (patch)
tree99b14eb0fcbd9309aa453e04475c11a6bb0eb308 /src/host/hcd.h
parente6e367913664140729fa88605da7f1dc52439e16 (diff)
lpc17 ohci failed to execute control transfer !!
Diffstat (limited to 'src/host/hcd.h')
-rw-r--r--src/host/hcd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h
index 94ee8d0fa..1383f6839 100644
--- a/src/host/hcd.h
+++ b/src/host/hcd.h
@@ -51,8 +51,8 @@
typedef enum
{
- HCD_EVENT_DEVICE_PLUG,
- HCD_EVENT_DEVICE_UNPLUG,
+ HCD_EVENT_DEVICE_ATTACH,
+ HCD_EVENT_DEVICE_REMOVE,
HCD_EVENT_XFER_COMPLETE,
} hcd_eventid_t;
@@ -67,7 +67,7 @@ typedef struct
{
uint8_t hub_addr;
uint8_t hub_port;
- } plug, unplug;
+ } attach, remove;
struct
{