summaryrefslogtreecommitdiff
path: root/src/device
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 /src/device
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 'src/device')
-rw-r--r--src/device/usbd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index 9faa3549f..0cecd7958 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -339,7 +339,6 @@ bool tud_init (void)
// Init device controller driver
dcd_init(TUD_OPT_RHPORT);
- tud_connect();
dcd_int_enable(TUD_OPT_RHPORT);
return true;