diff options
| author | hathach <[email protected]> | 2021-05-31 12:08:37 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-05-31 12:08:37 +0700 |
| commit | 3fb80e76ce554018fd81b2922c1db9121f446ac1 (patch) | |
| tree | 1740e05a7975ccafa04792f093f1de268f63e9f1 /src/class/vendor | |
| parent | 5cf930d78a9e31924008ac6bd145ddf2af76b42f (diff) | |
remove obsolete hcd_pipe_queue_xfer()/hcd_pipe_xfer()
Diffstat (limited to 'src/class/vendor')
| -rw-r--r-- | src/class/vendor/vendor_host.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/class/vendor/vendor_host.c b/src/class/vendor/vendor_host.c index 1978ef61c..f7a6b2bf0 100644 --- a/src/class/vendor/vendor_host.c +++ b/src/class/vendor/vendor_host.c @@ -66,7 +66,7 @@ tusb_error_t tusbh_custom_read(uint8_t dev_addr, uint16_t vendor_id, uint16_t pr return TUSB_ERROR_INTERFACE_IS_BUSY; } - (void) hcd_pipe_xfer( custom_interface[dev_addr-1].pipe_in, p_buffer, length, true); + (void) usbh_edpt_xfer( custom_interface[dev_addr-1].pipe_in, p_buffer, length); return TUSB_ERROR_NONE; } @@ -80,7 +80,7 @@ tusb_error_t tusbh_custom_write(uint8_t dev_addr, uint16_t vendor_id, uint16_t p return TUSB_ERROR_INTERFACE_IS_BUSY; } - (void) hcd_pipe_xfer( custom_interface[dev_addr-1].pipe_out, p_data, length, true); + (void) usbh_edpt_xfer( custom_interface[dev_addr-1].pipe_out, p_data, length); return TUSB_ERROR_NONE; } |
