drivers/usedev: remove unnecessary mdelay because remain req info had beed push to serial buffer
this mdelay causes cpu busy wait, affects other process running. Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
This commit is contained in:
parent
1a69d3c6ee
commit
e0d82fdf3a
|
@ -1491,7 +1491,6 @@ static void cdcacm_unbind(FAR struct usbdevclass_driver_s *driver,
|
||||||
*/
|
*/
|
||||||
|
|
||||||
cdcacm_resetconfig(priv);
|
cdcacm_resetconfig(priv);
|
||||||
up_mdelay(50);
|
|
||||||
|
|
||||||
/* Free the pre-allocated control request */
|
/* Free the pre-allocated control request */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue