diff options
| author | hathach <[email protected]> | 2020-09-06 11:49:00 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-09-06 11:49:00 +0700 |
| commit | 15ad585e674f14e247aa7e5f42fb84f90f14be8b (patch) | |
| tree | d53288f40e6219662180ea1cf9b3fe4b97fda16c /src/class | |
| parent | 9a6d7c648e3f41529fad2e2af7e01dc5c56003ac (diff) | |
replacing hcd_pipe_xfer by usbh_edpt_xfer
Diffstat (limited to 'src/class')
| -rw-r--r-- | src/class/hid/hid_host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/hid/hid_host.c b/src/class/hid/hid_host.c index d9ed1f651..5ea8cc7e9 100644 --- a/src/class/hid/hid_host.c +++ b/src/class/hid/hid_host.c @@ -71,7 +71,7 @@ tusb_error_t hidh_interface_get_report(uint8_t dev_addr, void * report, hidh_int TU_VERIFY(report, TUSB_ERROR_INVALID_PARA); TU_ASSERT(!hcd_edpt_busy(dev_addr, p_hid->ep_in), TUSB_ERROR_INTERFACE_IS_BUSY); - TU_ASSERT( hcd_pipe_xfer(dev_addr, p_hid->ep_in, report, p_hid->report_size, true) ) ; + TU_ASSERT( usbh_edpt_xfer(dev_addr, p_hid->ep_in, report, p_hid->report_size) ) ; return TUSB_ERROR_NONE; } |
