diff options
| author | hathach <[email protected]> | 2019-06-10 18:46:00 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-06-10 18:46:00 +0700 |
| commit | 7156bfb54d5e9e13c8574b2384a47bd5554798a9 (patch) | |
| tree | 38493c441211bd5e79bc1e468842aab504f95bca /src/class/custom | |
| parent | 15208e710a4122bc11417f5f8980e7a02c1a2a4f (diff) | |
fix build error with midi, use usbd_edpt_xfer/busy for midi to replace dcd_*
Diffstat (limited to 'src/class/custom')
| -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 18aea94cc..02a711621 100644 --- a/src/class/custom/custom_device.c +++ b/src/class/custom/custom_device.c @@ -70,7 +70,7 @@ bool cusd_open(uint8_t rhport, tusb_desc_interface_t const * p_desc_itf, uint16_ (*p_len) = sizeof(tusb_desc_interface_t) + 2*sizeof(tusb_desc_endpoint_t); // TODO Prepare for incoming data -// TU_ASSERT( dcd_edpt_xfer(rhport, p_itf->ep_out, (uint8_t*) &p_msc->cbw, sizeof(msc_cbw_t)) ); +// TU_ASSERT( usbd_edpt_xfer(rhport, p_itf->ep_out, (uint8_t*) &p_msc->cbw, sizeof(msc_cbw_t)) ); return true; } |
