diff options
| author | hathach <[email protected]> | 2020-05-19 00:55:43 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-05-19 00:55:43 +0700 |
| commit | 58cedf4c061fbf9f95cd88cafb6e581fc04549ff (patch) | |
| tree | 3a8d0855fd69d45501750c93ff8072c17d575b3e /src/class/hid/hid_host.c | |
| parent | 905a80d1b2de5e8ad67b3687ffd0543d90ac904e (diff) | |
usb0 host on mcb1800 work with fullspeed mode.
use usbh_edpt_open() to correctly map ep2drv[]
Diffstat (limited to 'src/class/hid/hid_host.c')
| -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 69c49b012..8abb3cd22 100644 --- a/src/class/hid/hid_host.c +++ b/src/class/hid/hid_host.c @@ -40,7 +40,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_edpt_open(dev_addr, p_endpoint_desc, TUSB_CLASS_HID); + p_hid->pipe_hdl = usbh_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; |
