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/portable/st/synopsys | |
| parent | 310797a58073dbd6d56eb4c85afd354949ce6630 (diff) | |
enable pull-up in dcd_init() instead of usbd
Diffstat (limited to 'src/portable/st/synopsys')
| -rw-r--r-- | src/portable/st/synopsys/dcd_synopsys.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/portable/st/synopsys/dcd_synopsys.c b/src/portable/st/synopsys/dcd_synopsys.c index f4430f582..a284c0384 100644 --- a/src/portable/st/synopsys/dcd_synopsys.c +++ b/src/portable/st/synopsys/dcd_synopsys.c @@ -453,6 +453,8 @@ void dcd_init (uint8_t rhport) // Enable global interrupt usb_otg->GAHBCFG |= USB_OTG_GAHBCFG_GINT; + + dcd_connect(rhport); } void dcd_int_enable (uint8_t rhport) |
