diff options
| author | hathach <[email protected]> | 2020-08-01 20:14:58 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-08-01 20:14:58 +0700 |
| commit | acde49ccc97466f603dc7face7ab70ea10d38ee3 (patch) | |
| tree | 39faa19822bd0a3fee11bf3d6e05aa3157f70fe4 /src/device/usbd.c | |
| parent | 310797a58073dbd6d56eb4c85afd354949ce6630 (diff) | |
enable pull-up in dcd_init() instead of usbd
Diffstat (limited to 'src/device/usbd.c')
| -rw-r--r-- | src/device/usbd.c | 1 |
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; |
