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

Replace SpiNInstance marker traits with concrete types #853

Merged
merged 2 commits into from
Oct 17, 2023

Conversation

jessebraham
Copy link
Member

Not sure why the WithDmaSpi2 and WithDmaSpi3 traits were generic around the inner peripheral in the first place, as these traits are specific to each peripheral. Regardless, moved the unnecessary generic type and replaced them with concrete types, eliminating the previous marker traits in the process.

Copy link
Contributor

@bjoernQ bjoernQ left a comment

Choose a reason for hiding this comment

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

LGTM

@jessebraham jessebraham merged commit 2d25610 into esp-rs:main Oct 17, 2023
17 checks passed
@jessebraham jessebraham deleted the fixes/spi branch October 17, 2023 13:32
MabezDev pushed a commit to MabezDev/esp-hal that referenced this pull request Oct 20, 2023
* Replace `SpiNInstance` marker traits with concrete types

* Update `CHANGELOG.md`
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