summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2022-06-18 12:40:39 +0700
committerGitHub <[email protected]>2022-06-18 12:40:39 +0700
commitae8b8f0c93885e3078f12c9ef00d65faa835d507 (patch)
tree1472e67688a059e33c186e6aa6a0943784122ea6 /src
parentb4e62d1cda09b8b8fac14e225b7005d17c173db3 (diff)
parent05fc2fa7a64c32aa748c8c0f1fe119f417fed074 (diff)
Merge pull request #1515 from maddyaby/dcd_edpt_close
Stub out dcd_edpt_close for samd
Diffstat (limited to 'src')
-rw-r--r--src/portable/microchip/samd/dcd_samd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/portable/microchip/samd/dcd_samd.c b/src/portable/microchip/samd/dcd_samd.c
index 5ae5a554b..20dbde0f4 100644
--- a/src/portable/microchip/samd/dcd_samd.c
+++ b/src/portable/microchip/samd/dcd_samd.c
@@ -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;