summaryrefslogtreecommitdiff
path: root/src/device/dcd.h
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2021-09-01 20:18:01 +0700
committerGitHub <[email protected]>2021-09-01 20:18:01 +0700
commit831a45f14bcc833d536cab39bef61cc67533fa73 (patch)
treea06c49a362535f17174ce3058c867f4f21bf0df0 /src/device/dcd.h
parente2175f6ed1e9a42c76dacf345d51ba61eecd8a6a (diff)
parentd4c56c70a80a6df81f403627e897c50b0a94601e (diff)
Merge pull request #1065 from hathach/rp2040-compliance
Rp2040 compliance test
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 8d042bbde..d43a0dd9a 100644
--- a/src/device/dcd.h
+++ b/src/device/dcd.h
@@ -153,7 +153,7 @@ bool dcd_edpt_xfer (uint8_t rhport, uint8_t ep_addr, uint8_t * buffer
// This API is optional, may be useful for register-based for transferring data.
bool dcd_edpt_xfer_fifo (uint8_t rhport, uint8_t ep_addr, tu_fifo_t * ff, uint16_t total_bytes) TU_ATTR_WEAK;
-// Stall endpoint
+// Stall endpoint, any queuing transfer should be removed from endpoint
void dcd_edpt_stall (uint8_t rhport, uint8_t ep_addr);
// clear stall, data toggle is also reset to DATA0