This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit e0d82fdf3a9c8418d78d3a41f95ef96dc43a034d
Author: dongjiuzhu1 <[email protected]>
AuthorDate: Sun Apr 28 11:38:36 2024 +0800

    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 <[email protected]>
---
 drivers/usbdev/cdcacm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usbdev/cdcacm.c b/drivers/usbdev/cdcacm.c
index d0b8365d2a..efffdd1a49 100644
--- a/drivers/usbdev/cdcacm.c
+++ b/drivers/usbdev/cdcacm.c
@@ -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 */
 

Reply via email to