diff options
| author | hathach <[email protected]> | 2018-03-03 14:45:29 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-03 14:45:29 +0700 |
| commit | 394302c8cb1b712d55929ae19805a96d560376db (patch) | |
| tree | a0300c1614c3b1d254364cbfb4e01857dc7134e2 /tinyusb/device/usbd_dcd.h | |
| parent | f6137903bcfc8eded20ee459947d4007d67ed689 (diff) | |
rename usbd_setup_received_isr to hal_dcd_setup_received
Diffstat (limited to 'tinyusb/device/usbd_dcd.h')
| -rw-r--r-- | tinyusb/device/usbd_dcd.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tinyusb/device/usbd_dcd.h b/tinyusb/device/usbd_dcd.h index a82da8399..8bc3a5fbd 100644 --- a/tinyusb/device/usbd_dcd.h +++ b/tinyusb/device/usbd_dcd.h @@ -47,10 +47,6 @@ //--------------------------------------------------------------------+
#include "common/common.h"
-#ifdef _TEST_
-#include "dcd.h"
-#endif
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -79,7 +75,8 @@ extern usbd_device_info_t usbd_devices[CONTROLLER_DEVICE_NUMBER]; // callback from DCD ISR
//--------------------------------------------------------------------+
void usbd_dcd_bus_event_isr(uint8_t coreid, usbd_bus_event_type_t bus_event);
-void usbd_setup_received_isr(uint8_t coreid, tusb_control_request_t * p_request);
+void hal_dcd_setup_received(uint8_t coreid, uint8_t const* p_request);
+
void usbd_xfer_isr(endpoint_handle_t edpt_hdl, tusb_event_t event, uint32_t xferred_bytes);
|
