Skip to content

Transactional WriteRead #26

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

Merged
merged 4 commits into from
Dec 3, 2019

Conversation

eldruin
Copy link
Member

@eldruin eldruin commented Nov 25, 2019

This fixes #25 by implementing a transactional write-read without STOP in the middle.
It also fixes a type cast which was the only warning present.

@eldruin eldruin requested a review from a team as a code owner November 25, 2019 07:18
@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @posborne (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added S-waiting-on-review Status: Review is incomplete T-embedded-linux labels Nov 25, 2019
This was referenced Nov 25, 2019
@eldruin
Copy link
Member Author

eldruin commented Nov 29, 2019

Hi @posborne, did you have any chance to have a look at this?

Copy link
Contributor

@ryankurte ryankurte left a comment

Choose a reason for hiding this comment

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

lgtm, thanks!

@ryankurte
Copy link
Contributor

bors r+

bors bot added a commit that referenced this pull request Dec 3, 2019
26: Transactional WriteRead r=ryankurte a=eldruin

This fixes #25 by implementing a transactional write-read without STOP in the middle.
It also fixes a type cast which was the only warning present.

Co-authored-by: Diego Barrios Romero <[email protected]>
@bors
Copy link
Contributor

bors bot commented Dec 3, 2019

Build succeeded

@bors bors bot merged commit 7cd65d6 into rust-embedded:master Dec 3, 2019
bors bot added a commit that referenced this pull request Dec 3, 2019
27: Release 0.3.0 preparation r=ryankurte a=eldruin

I updated the changelog with everything that happened since the 0.2.2 release and bumped the minor version because of the digital::v2.
I also fixed setting the embedded-hal version to 0.2.3 because that is when the digital::v2 traits were released.
This branch sits on top of #26 with the hopeful date of today :)

Co-authored-by: Diego Barrios Romero <[email protected]>
bors bot added a commit to rust-embedded/wg that referenced this pull request Jan 24, 2021
533: Add eldruin to embedded linux team r=therealprof a=eldruin

I was approached by @ryankurte about joining the embedded linux team and I would be happy to.
So far I have contributed to `rust-i2cdev` and `linux-embedded-hal` adding support for transactional I2C among other smaller fixes. See:
- rust-embedded/rust-i2cdev#51
- rust-embedded/linux-embedded-hal#26

Other than that I guess everyone here knows me already.
Nevertheless, please feel free to raise any concerns.

Co-authored-by: Diego Barrios Romero <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Review is incomplete T-embedded-linux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

I2C write_read() not woring correctly
4 participants