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

[rtl872x] usb: make sure CDC line coding struct is packed #2541

Merged
merged 1 commit into from
Sep 28, 2022

Conversation

avtolstoy
Copy link
Member

Problem

USB linecoding struct is supposed to be 7 bytes only, due to default packing configuration compiler aligns it to 8 bytes currently, which causes SET_LINE_CODING requests to fail.

Example App

N/A

References

  • [SC109872]

Completeness

  • User is totes amazing for contributing!
  • Contributor has signed CLA (Info here)
  • Problem and Solution clearly stated
  • Run unit/integration/application tests on device
  • Added documentation
  • Added to CHANGELOG.md after merging (add links to docs and issues)

@scott-brust scott-brust merged commit 8cd439d into develop Sep 28, 2022
@scott-brust scott-brust deleted the fix/p2-usb-cdc-linecoding branch September 28, 2022 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants