diff options
| author | hathach <[email protected]> | 2018-03-06 16:50:50 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-06 16:50:50 +0700 |
| commit | c5cb58b2bb229e88747786d4c61cc145322bff8b (patch) | |
| tree | d2b7d78d375105371400f5cafec1714cff9398de /tinyusb/class/hid_device.c | |
| parent | 85511e288d04d7ab9921e58b58f1628b4d18833c (diff) | |
remove class code in pipe open()
Diffstat (limited to 'tinyusb/class/hid_device.c')
| -rw-r--r-- | tinyusb/class/hid_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/class/hid_device.c b/tinyusb/class/hid_device.c index 43f1546af..83c064115 100644 --- a/tinyusb/class/hid_device.c +++ b/tinyusb/class/hid_device.c @@ -280,7 +280,7 @@ tusb_error_t hidd_open(uint8_t coreid, tusb_descriptor_interface_t const * p_int ASSERT_PTR(p_hid, TUSB_ERROR_FAILED);
- p_hid->ept_handle = dcd_pipe_open(coreid, p_desc_endpoint, p_interface_desc->bInterfaceClass);
+ p_hid->ept_handle = hal_dcd_pipe_open(coreid, p_desc_endpoint);
ASSERT( endpointhandle_is_valid(p_hid->ept_handle), TUSB_ERROR_DCD_FAILED);
p_hid->interface_number = p_interface_desc->bInterfaceNumber;
|
