Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers/usbdev: minor update for cdcacm #13481

Merged
merged 3 commits into from
Sep 16, 2024
Merged

Conversation

Donny9
Copy link
Contributor

@Donny9 Donny9 commented Sep 15, 2024

Summary

  1. add CDCACM_BULKOUT_REQLEN to config bulkout req len to optimize performance.
  2. remove unnecessary mdelay because remain req info had beed push to serial buffer, and
    this mdelay causes cpu busy wait, affects other process running.
  3. warnning fix

Impact

minor

Testing

Vela

Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
… beed push to serial buffer

this mdelay causes cpu busy wait, affects other process running.

Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
usbdev/composite.c:649:36: warning: implicit declaration of function 'board_usbdev_pid' [-Wimplicit-function-declaration]
649 | uint16_t pid = board_usbdev_pid(); usbdev/composite.c:650:36: warning: implicit declaration of function 'board_usbdev_vid'
[-Wimplicit-function-declaration] 650 | uint16_t vid = board_usbdev_vid();

Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
@xiaoxiang781216 xiaoxiang781216 merged commit a9bc198 into apache:master Sep 16, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants