diff options
| author | hathach <[email protected]> | 2018-03-06 17:18:43 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-06 17:18:43 +0700 |
| commit | e561f4f4c68ebad8bf7b35adaaa9907ffb7c5fe0 (patch) | |
| tree | 65f12c1cf14c14474a51a16dbd64b5e8032d6466 /tinyusb/device/dcd.h | |
| parent | 792f51a927a85c27d4e26c0a6dc8202280613991 (diff) | |
rename to hal_dcd_pipe_clear_stall()
Diffstat (limited to 'tinyusb/device/dcd.h')
| -rw-r--r-- | tinyusb/device/dcd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/device/dcd.h b/tinyusb/device/dcd.h index 13cdbbbba..a2948af52 100644 --- a/tinyusb/device/dcd.h +++ b/tinyusb/device/dcd.h @@ -91,12 +91,12 @@ bool hal_dcd_pipe_open(uint8_t coreid, tusb_descriptor_endpoint_t const * p_endp 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 hal_dcd_pipe_xfer(endpoint_handle_t edpt_hdl, uint8_t * buffer, uint16_t total_bytes, bool int_on_complete);
-void hal_dcd_pipe_stall(endpoint_handle_t edpt_hdl);
bool dcd_pipe_is_busy(endpoint_handle_t edpt_hdl);
// TODO coreid + endpoint address are part of endpoint handle, not endpoint handle, data toggle also need to be reset
-tusb_error_t dcd_pipe_clear_stall(uint8_t coreid, uint8_t edpt_addr);
+void hal_dcd_pipe_stall(endpoint_handle_t edpt_hdl);
+void hal_dcd_pipe_clear_stall(uint8_t coreid, uint8_t edpt_addr);
#ifdef __cplusplus
}
|
