This repository has been archived by the owner on Sep 20, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
conn/sysfs: redo SPI to be much saner
- 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