diff options
| author | hathach <[email protected]> | 2018-12-11 13:12:21 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-11 13:12:21 +0700 |
| commit | 0d04e6eb96935723f17969bf43a33532fcebcbf6 (patch) | |
| tree | 1176f84a968dddb1eb03e5f2f41acf405d9171a7 /src/class/hid | |
| parent | 7deac61d5f01e96df22e2d02a640c0f528d0109f (diff) | |
rename to hcd_edpt_open()
Diffstat (limited to 'src/class/hid')
| -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 980381bf5..8d7dce70a 100644 --- a/src/class/hid/hid_host.c +++ b/src/class/hid/hid_host.c @@ -56,7 +56,7 @@ //--------------------------------------------------------------------+
static inline bool hidh_interface_open(uint8_t dev_addr, uint8_t interface_number, tusb_desc_endpoint_t const *p_endpoint_desc, hidh_interface_info_t *p_hid)
{
- p_hid->pipe_hdl = hcd_pipe_open(dev_addr, p_endpoint_desc, TUSB_CLASS_HID);
+ p_hid->pipe_hdl = hcd_edpt_open(dev_addr, p_endpoint_desc, TUSB_CLASS_HID);
p_hid->report_size = p_endpoint_desc->wMaxPacketSize.size; // TODO get size from report descriptor
p_hid->interface_number = interface_number;
|
