Skip to content

async: add i2c#348

Merged
bors[bot] merged 1 commit into
rust-embedded:masterfrom
embassy-rs:async-i2c
Jan 18, 2022
Merged

async: add i2c#348
bors[bot] merged 1 commit into
rust-embedded:masterfrom
embassy-rs:async-i2c

Conversation

@Dirbaio

@Dirbaio Dirbaio commented Jan 12, 2022

Copy link
Copy Markdown
Member

This mirrors the blocking i2c trait (including the changes proposed in #339 ), except the following:

  • Removed all iter methods since they don't play well with DMA.

@Dirbaio Dirbaio requested a review from a team as a code owner January 12, 2022 12:01
@rust-highfive

Copy link
Copy Markdown

r? @ryankurte

(rust-highfive has picked a reviewer for you, use r? to override)

@Dirbaio Dirbaio mentioned this pull request Jan 12, 2022
3 tasks

@eldruin eldruin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems straight-forward to me, thanks!
We could add an I2cIter trait in the future if there is a good use case.

bors r+

@bors

bors Bot commented Jan 12, 2022

Copy link
Copy Markdown
Contributor

👎 Rejected by too few approved reviews

@eldruin

eldruin commented Jan 12, 2022

Copy link
Copy Markdown
Member

What? I just approved this

@eldruin eldruin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

bors r+

@bors bors Bot merged commit 61285e4 into rust-embedded:master Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants