Skip to content

Commit

Permalink
Merge #443
Browse files Browse the repository at this point in the history
443: spi: make SpiDevice transaction take an operation slice instead of a closure. r=eldruin a=Dirbaio

As discussed in [today's WG meeting](https://matrix.to/#/!BHcierreUuwCMxVqOf:matrix.org/$l3MzRbzKQ0LGOops0ioYfM2kEr6-eT7ODboDj9iiCfY?via=matrix.org&via=psion.agg.io&via=tchncs.de).

- Fixes rust-embedded/linux-embedded-hal#87
- Gets rid of the cursed borrow issues in async.
- Makes the trait more consistent with I2C.


Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
  • Loading branch information
bors[bot] and Dirbaio committed Apr 1, 2023
2 parents 8aaa48b + b6764ec commit a8ea55f
Show file tree
Hide file tree
Showing 3 changed files with 513 additions and 278 deletions.

0 comments on commit a8ea55f

Please sign in to comment.