enable pull-up in dcd_init() instead of usbd

This commit is contained in:
hathach
2020-08-01 20:14:58 +07:00
parent 310797a580
commit acde49ccc9
12 changed files with 17 additions and 13 deletions

View File

@@ -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;