summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-08-01 20:14:58 +0700
committerhathach <[email protected]>2020-08-01 20:14:58 +0700
commitacde49ccc97466f603dc7face7ab70ea10d38ee3 (patch)
tree39faa19822bd0a3fee11bf3d6e05aa3157f70fe4 /src/device
parent310797a58073dbd6d56eb4c85afd354949ce6630 (diff)
enable pull-up in 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;