diff options
| author | hathach <[email protected]> | 2020-04-26 14:51:44 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-04-26 14:51:44 +0700 |
| commit | 017c95037f3173455fa09efae6093d56fd3f3d1a (patch) | |
| tree | 37e5eb03f99c95ca9ebdb69c0bf6c8b263342492 /src/class/midi | |
| parent | f1ecda392ffcc0c114269c3b6c318a2d0a50e2f5 (diff) | |
add usbd edpt open
- RTT mode is blocking to prevent log lost
- Improve logging message
Diffstat (limited to 'src/class/midi')
| -rw-r--r-- | src/class/midi/midi_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/midi/midi_device.c b/src/class/midi/midi_device.c index 56a27fbce..7bc8cef84 100644 --- a/src/class/midi/midi_device.c +++ b/src/class/midi/midi_device.c @@ -339,7 +339,7 @@ bool midid_open(uint8_t rhport, tusb_desc_interface_t const * desc_itf, uint16_t { if ( TUSB_DESC_ENDPOINT == p_desc[DESC_OFFSET_TYPE]) { - TU_ASSERT( dcd_edpt_open(rhport, (tusb_desc_endpoint_t const *) p_desc), false); + TU_ASSERT( usbd_edpt_open(rhport, (tusb_desc_endpoint_t const *) p_desc), false); uint8_t ep_addr = ((tusb_desc_endpoint_t const *) p_desc)->bEndpointAddress; if (tu_edpt_dir(ep_addr) == TUSB_DIR_IN) { p_midi->ep_in = ep_addr; |
