diff options
| author | hathach <[email protected]> | 2018-12-12 12:01:15 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-12 12:01:15 +0700 |
| commit | 6c0b0917e15ca0acf7ce9bed0f3735a794abb807 (patch) | |
| tree | 0fb72ad69c8c38b5bbee83f3a0e5b63295caed3f /src/class/custom/custom_device.c | |
| parent | 6d86db3977aa60963d78d1bceaa7e3def60f1957 (diff) | |
rename descriptor_* helper to tu_desc_*
Diffstat (limited to 'src/class/custom/custom_device.c')
| -rw-r--r-- | src/class/custom/custom_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/custom/custom_device.c b/src/class/custom/custom_device.c index 5abffacf6..bec6f42d1 100644 --- a/src/class/custom/custom_device.c +++ b/src/class/custom/custom_device.c @@ -76,7 +76,7 @@ tusb_error_t cusd_open(uint8_t rhport, tusb_desc_interface_t const * p_desc_itf, cusd_interface_t* p_itf = &_cusd_itf; // Open endpoint pair with usbd helper - tusb_desc_endpoint_t const *p_desc_ep = (tusb_desc_endpoint_t const *) descriptor_next( (uint8_t const*) p_desc_itf ); + tusb_desc_endpoint_t const *p_desc_ep = (tusb_desc_endpoint_t const *) tu_desc_next( (uint8_t const*) p_desc_itf ); TU_ASSERT_ERR( usbd_open_edpt_pair(rhport, p_desc_ep, TUSB_XFER_BULK, &p_itf->ep_out, &p_itf->ep_in) ); p_itf->itf_num = p_desc_itf->bInterfaceNumber; |
