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

Fix #97: split unbalanced SPI transfers into rw+r or rw+w #98

Merged
merged 1 commit into from
Sep 26, 2023

Conversation

adamgreig
Copy link
Member

I think this should be OK but so far I've only tested it on equal-sized buffers and reads-bigger-than-writes as I don't have anything convenient set up for checking what happens with writes-bigger-than-reads.

@adamgreig adamgreig requested a review from a team as a code owner September 25, 2023 01:24
Copy link
Member

@eldruin eldruin left a comment

Choose a reason for hiding this comment

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

Nice find and fix, thank you!
Could you add an entry to the changelog as well?

@adamgreig
Copy link
Member Author

Changelog added. I tested this with short reads too and it seems to work as expected.

Copy link
Member

@eldruin eldruin 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 your work!

@eldruin eldruin added this pull request to the merge queue Sep 26, 2023
Merged via the queue into rust-embedded:master with commit 752b65f Sep 26, 2023
8 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