Stub out dcd_edpt_close for samd

Not having this prevents the device from finishing the mounting process.

Tested on a SAMD51 and didn't seem to need to actually do anything in the close function.
This commit is contained in:
maddyaby 2022-06-16 16:57:20 -07:00
parent 80121303eb
commit 05fc2fa7a6
1 changed files with 7 additions and 0 deletions

View File

@ -250,6 +250,13 @@ bool dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const * desc_edpt)
return true;
}
void dcd_edpt_close (uint8_t rhport, uint8_t ep_addr) {
(void) rhport;
(void) ep_addr;
// TODO: implement if necessary?
}
void dcd_edpt_close_all (uint8_t rhport)
{
(void) rhport;