summaryrefslogtreecommitdiff
path: root/src/device/dcd.h
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/device/dcd.h
parent215832397b1593e2df5609f92c9346c133a03774 (diff)
remove weak from dcd_edpt_close() for port without TUP_DCD_EDPT_ISO_ALLOC
Diffstat (limited to 'src/device/dcd.h')
-rw-r--r--src/device/dcd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h
index d1d4e4897..3ef5188fc 100644
--- a/src/device/dcd.h
+++ b/src/device/dcd.h
@@ -181,7 +181,7 @@ bool dcd_edpt_iso_activate(uint8_t rhport, tusb_desc_endpoint_t const * desc_ep)
#else
// Close an endpoint.
-void dcd_edpt_close (uint8_t rhport, uint8_t ep_addr) TU_ATTR_WEAK;
+void dcd_edpt_close(uint8_t rhport, uint8_t ep_addr);
#endif