1
0
mirror of https://github.com/elua/elua.git synced 2025-01-08 20:56:17 +08:00

stm32f4: notify usb host of device startup

This commit is contained in:
James Snyder 2014-06-18 11:38:28 -05:00
parent 30ee5de1f9
commit c216dd2396

View File

@ -136,6 +136,8 @@ int platform_init()
#else
USBD_Init( &USB_OTG_dev, USB_OTG_FS_CORE_ID, &USR_desc, &USBD_CDC_cb, &USR_cb );
#endif
DCD_DevDisconnect( &USB_OTG_dev );
DCD_DevConnect( &USB_OTG_dev );
#endif
cmn_platform_init();