summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-08-12 00:11:04 +0700
committerhathach <[email protected]>2021-08-12 00:11:04 +0700
commit88d4cb402d5db6cb88ffa0aecb78fccfe3ab0afd (patch)
treeb176ead4ac084f085ea2a84448918ca0ae770645 /src/device
parenta2baf9427d62ecb49b8d0e58a7ddb12698ddf814 (diff)
simplify hw_endpoint_init()
Diffstat (limited to 'src/device')
-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);
//--------------------------------------------------------------------+