add usbd edpt open
- RTT mode is blocking to prevent log lost - Improve logging message
This commit is contained in:
@@ -309,7 +309,7 @@ bool usbtmcd_open_cb(uint8_t rhport, tusb_desc_interface_t const * itf_desc, uin
|
||||
default:
|
||||
TU_ASSERT(false);
|
||||
}
|
||||
TU_VERIFY( dcd_edpt_open(rhport, ep_desc));
|
||||
TU_VERIFY( usbd_edpt_open(rhport, ep_desc));
|
||||
found_endpoints++;
|
||||
}
|
||||
(*p_length) = (uint8_t)((*p_length) + p_desc[DESC_OFFSET_LEN]);
|
||||
|
Reference in New Issue
Block a user