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

Implements deinit functions for host/device mode switch #1835

Merged
merged 5 commits into from
Apr 8, 2024

Conversation

ikskuh
Copy link

@ikskuh ikskuh commented Jan 2, 2023

Implements tuh_deinit() and tud_deinit() to uninitialize host/device mode.

Describe the PR
A clear and concise description of what this PR solve.

Additional context
If applicable, add any other context about the PR and/or screenshots here.

src/device/usbd.c Dismissed Show dismissed Hide dismissed
Copy link
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for the PR. I have pushed the update for class driver deinit() as well. Haven't tested this thoroughly, but I guess we could fix it later on should there is any issues.

@hathach hathach merged commit 42decf2 into hathach:master Apr 8, 2024
49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants