summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2020-08-04 14:11:32 +0700
committerGitHub <[email protected]>2020-08-04 14:11:32 +0700
commit026a1e7ac86e73e5596d819eacc7dbff97f6d322 (patch)
tree205d40e36b6305cbcbdfb13a0092980481ec8318 /docs
parent72464faca4e00ff932348043e05286d5a5d586b9 (diff)
parentacde49ccc97466f603dc7face7ab70ea10d38ee3 (diff)
Merge pull request #478 from hathach/move-dcdconnect-to-dcdinit
Move pull-up enabling to dcd_init() instead of usbd
Diffstat (limited to 'docs')
-rw-r--r--docs/porting.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/porting.md b/docs/porting.md
index 473768450..d3c688a81 100644
--- a/docs/porting.md
+++ b/docs/porting.md
@@ -62,7 +62,7 @@ All of the code for the low-level device API is in `src/portable/<vendor>/<chip
##### dcd_init
Initializes the USB peripheral for device mode and enables it.
-This function should leave an internal D+/D- pull-up in its default power-on state. `dcd_connect` will be called by the USBD core following `dcd_init`.
+This function should enable internal D+/D- pull-up for enumeration.
##### dcd_int_enable / dcd_int_disable