summaryrefslogtreecommitdiff
path: root/src/portable/microchip
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-08-19 20:08:55 +0700
committerhathach <[email protected]>2024-08-19 20:08:55 +0700
commitea4f9ceb58f0aa6acc86bbe3083596a98b5355fd (patch)
treea0a72ccb003fdac720a52745c0530f12c3475623 /src/portable/microchip
parent215832397b1593e2df5609f92c9346c133a03774 (diff)
remove weak from dcd_edpt_close() for port without TUP_DCD_EDPT_ISO_ALLOC
Diffstat (limited to 'src/portable/microchip')
-rw-r--r--src/portable/microchip/samg/dcd_samg.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/portable/microchip/samg/dcd_samg.c b/src/portable/microchip/samg/dcd_samg.c
index e3fa51e31..a15431937 100644
--- a/src/portable/microchip/samg/dcd_samg.c
+++ b/src/portable/microchip/samg/dcd_samg.c
@@ -277,6 +277,11 @@ bool dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const * ep_desc)
return true;
}
+void dcd_edpt_close(uint8_t rhport, uint8_t ep_addr) {
+ (void) rhport; (void) ep_addr;
+ // TODO implement dcd_edpt_close()
+}
+
void dcd_edpt_close_all (uint8_t rhport)
{
(void) rhport;