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 @@ -49,15 +49,6 @@ extern "C" { #endif -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, @@ -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)