summaryrefslogtreecommitdiff
path: root/src/device/usbd.c
diff options
context:
space:
mode:
authorNathan Conrad <[email protected]>2020-04-08 11:51:33 -0400
committerNathan Conrad <[email protected]>2020-04-09 17:03:12 -0400
commit715c4dbbf8fe7c6bb83013df626a201928704b30 (patch)
treef2379e646562b08cbb099c36956a37594d424dfa /src/device/usbd.c
parentd6578823bb405cacbda13a044b66ba0a4f16a3d4 (diff)
stm32fsdev: Implement dcd_connect.
Diffstat (limited to 'src/device/usbd.c')
-rw-r--r--src/device/usbd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c
index ddd99d7f1..17a251a92 100644
--- a/src/device/usbd.c
+++ b/src/device/usbd.c
@@ -332,6 +332,7 @@ bool tud_init (void)
// Init device controller driver
dcd_init(TUD_OPT_RHPORT);
+ tud_connect();
dcd_int_enable(TUD_OPT_RHPORT);
return true;