From 52de428fbe036aa98cffe967d891f2e7db6c9ec3 Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 6 Mar 2018 17:14:35 +0700 Subject: rename to hal_dcd_pipe_xfer() --- tinyusb/device/dcd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tinyusb/device/dcd.h') diff --git a/tinyusb/device/dcd.h b/tinyusb/device/dcd.h index cd1f7578d..5a4ada119 100644 --- a/tinyusb/device/dcd.h +++ b/tinyusb/device/dcd.h @@ -87,8 +87,10 @@ bool hal_dcd_control_xfer(uint8_t coreid, tusb_direction_t dir, uint8_t * p_buff void hal_dcd_control_stall(uint8_t coreid); bool hal_dcd_pipe_open(uint8_t coreid, tusb_descriptor_endpoint_t const * p_endpoint_desc, endpoint_handle_t* eh); + + tusb_error_t dcd_pipe_queue_xfer(endpoint_handle_t edpt_hdl, uint8_t * buffer, uint16_t total_bytes); // only queue, not transferring yet -tusb_error_t dcd_pipe_xfer(endpoint_handle_t edpt_hdl, uint8_t * buffer, uint16_t total_bytes, bool int_on_complete); +tusb_error_t hal_dcd_pipe_xfer(endpoint_handle_t edpt_hdl, uint8_t * buffer, uint16_t total_bytes, bool int_on_complete); tusb_error_t dcd_pipe_stall(endpoint_handle_t edpt_hdl); bool dcd_pipe_is_busy(endpoint_handle_t edpt_hdl); -- cgit v1.3.1