summaryrefslogtreecommitdiff
path: root/src/device/dcd.h
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2021-08-18 16:45:35 +0700
committerGitHub <[email protected]>2021-08-18 16:45:35 +0700
commit830757d9ce98e646ef5941f35e3f5c9ecc2e3f13 (patch)
tree1bf0c0ca0e07d9565d1014a662e0c4c5489a2a23 /src/device/dcd.h
parent0411810bc0ae3b9dce84d4852506706d72a29d93 (diff)
parentd52b981c3af06233891e827edcd484ece244a5a8 (diff)
Merge pull request #1020 from hathach/rp2040-disconnect-suspend
Add Rp2040 suspend & resume support
Diffstat (limited to 'src/device/dcd.h')
-rw-r--r--src/device/dcd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h
index 8bfad9b72..66767c1fe 100644
--- a/src/device/dcd.h
+++ b/src/device/dcd.h
@@ -152,6 +152,7 @@ bool dcd_edpt_xfer_fifo (uint8_t rhport, uint8_t ep_addr, tu_fifo_t * ff,
void dcd_edpt_stall (uint8_t rhport, uint8_t ep_addr);
// clear stall, data toggle is also reset to DATA0
+// This API never calls with control endpoints, since it is auto cleared when receiving setup packet
void dcd_edpt_clear_stall (uint8_t rhport, uint8_t ep_addr);
//--------------------------------------------------------------------+