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

updated for embedded-hal v1.0.0 #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bobsrac
Copy link

@bobsrac bobsrac commented Aug 22, 2024

No description provided.

Cargo.toml Outdated Show resolved Hide resolved
src/error.rs Outdated
Copy link
Author

Choose a reason for hiding this comment

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

This device has a CS pin, and therefore should implement the embedded_hal::spi::SpiDevice trait per https://docs.rs/embedded-hal/latest/embedded_hal/spi/index.html#for-driver-authors.

Documentation there indicates this driver should not manage the CS pin, so no more need to split error types.

@bobsrac bobsrac marked this pull request as draft August 23, 2024 00:08
@bobsrac bobsrac force-pushed the feature/embedded-hal_v1.0.0 branch from 14fdef3 to 1d41ccb Compare August 23, 2024 00:10
@bobsrac bobsrac marked this pull request as ready for review August 23, 2024 00:11
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