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

USB: better packet queue logic #518

Merged
merged 1 commit into from
Jul 18, 2024
Merged

USB: better packet queue logic #518

merged 1 commit into from
Jul 18, 2024

Conversation

barbibulle
Copy link
Collaborator

A bit of cleanup of how USB transfers are managed:
1/ Instead of removing packets from the queue in the callback, they are now processed by a task
2/ a transfer semaphore is used to ensure that we don't start a new transfer while one is already in progress

@barbibulle barbibulle requested a review from zxzxwu July 18, 2024 00:50
@barbibulle barbibulle merged commit 1c278be into main Jul 18, 2024
57 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.

2 participants