summaryrefslogtreecommitdiff
path: root/src/device/dcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-05-10 23:46:26 +0700
committerGitHub <[email protected]>2019-05-10 23:46:26 +0700
commitbfa073818c83266c2353ccf4fce580eef62e4a0c (patch)
treeb61a7072a26e30b9be5f94d7f1fb114cf2f731dc /src/device/dcd.h
parent13c1bd762e48fc83125dd0a701c895816cfe5921 (diff)
parent667133304b244927defd45d86281a5653401d356 (diff)
Merge pull request #63 from hathach/develop
enhance msc device
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 63f923faa..18678f15b 100644
--- a/src/device/dcd.h
+++ b/src/device/dcd.h
@@ -107,7 +107,7 @@ void dcd_remote_wakeup(uint8_t rhport);
* must be called to notify the stack
* - busy : Check if endpoint transferring is complete (TODO remove)
* - stall : stall endpoint
- * - clear_stall : clear stall
+ * - clear_stall : clear stall, data toggle is also reset to DATA0
*------------------------------------------------------------------*/
bool dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const * p_endpoint_desc);
bool dcd_edpt_xfer (uint8_t rhport, uint8_t ep_addr, uint8_t * buffer, uint16_t total_bytes);