Merge pull request #1515 from maddyaby/dcd_edpt_close

Stub out dcd_edpt_close for samd
This commit is contained in:
Ha Thach
2022-06-18 12:40:39 +07:00
committed by GitHub

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;