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:
parent
30ee5de1f9
commit
c216dd2396
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user