mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 01:39:44 +08:00
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:
@@ -1491,7 +1491,6 @@ static void cdcacm_unbind(FAR struct usbdevclass_driver_s *driver,
|
||||
*/
|
||||
|
||||
cdcacm_resetconfig(priv);
|
||||
up_mdelay(50);
|
||||
|
||||
/* Free the pre-allocated control request */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user