summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-10-23 19:56:18 +0700
committerhathach <[email protected]>2018-10-23 19:58:06 +0700
commite7a63324dd02bb8c8193b26631b4b7ef5d08fd0b (patch)
treeb3e062c621774e06257a92e41745014b00280d40 /src/device
parent2891ff486ad28bea2561076d4ecb771140631d88 (diff)
clean up
Diffstat (limited to 'src/device')
-rw-r--r--src/device/dcd.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h
index cb8358d2f..5a28296cd 100644
--- a/src/device/dcd.h
+++ b/src/device/dcd.h
@@ -51,15 +51,6 @@
typedef enum
{
- USBD_BUS_EVENT_RESET = 1,
- USBD_BUS_EVENT_UNPLUGGED,
- USBD_BUS_EVENT_SOF,
- USBD_BUS_EVENT_SUSPENDED,
- USBD_BUS_EVENT_RESUME
-}usbd_bus_event_type_t;
-
-typedef enum
-{
DCD_EVENT_BUS_RESET = 1,
DCD_EVENT_UNPLUGGED,
DCD_EVENT_SOF,
@@ -112,8 +103,6 @@ void dcd_disconnect (uint8_t rhport) ATTR_WEAK;
/* Event Function
* Called by DCD to notify USBD
*------------------------------------------------------------------*/
-void dcd_bus_event (uint8_t rhport, usbd_bus_event_type_t bus_event);
-void dcd_setup_received (uint8_t rhport, uint8_t const* p_request);
void dcd_xfer_complete (uint8_t rhport, uint8_t ep_addr, uint32_t xferred_bytes, bool succeeded);
static inline void dcd_control_complete(uint8_t rhport, uint32_t xferred_bytes)