Skip to content

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
@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