Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
conn/sysfs: redo SPI to be much saner
Browse files Browse the repository at this point in the history
- Remove the back pointer from spiConn into SPI. Instead put everything into
  spiConn. This permits the compiler to do smarter optimizations.
- Stop doing memory allocation in String()
- Increase SPI test coverage significantly.
- spi.Pins functions do not take the transaction lock.

Visible side effects are:
- sysfs.SPI doesn't implement sync.Locker anymore.
  • Loading branch information
maruel committed Aug 12, 2018
1 parent 6e2faaa commit 6c72da6
Show file tree
Hide file tree
Showing 3 changed files with 393 additions and 259 deletions.
Loading

0 comments on commit 6c72da6

Please sign in to comment.