mirror of
https://github.com/kidoman/embd
synced 2024-12-22 12:50:19 +01:00
fixing link errors
This commit is contained in:
parent
64ce088b69
commit
6ad940090c
2
spi.go
2
spi.go
@ -19,7 +19,7 @@ const (
|
|||||||
SPIMode3 = (spiCpol | spiCpha)
|
SPIMode3 = (spiCpol | spiCpha)
|
||||||
)
|
)
|
||||||
|
|
||||||
// SPI interface allows interaction with the SPI bus.
|
// SPIBus interface allows interaction with the SPI bus.
|
||||||
type SPIBus interface {
|
type SPIBus interface {
|
||||||
// TransferAndRecieveData transmits data in a buffer(slice) and receives into it.
|
// TransferAndRecieveData transmits data in a buffer(slice) and receives into it.
|
||||||
TransferAndRecieveData(dataBuffer []uint8) error
|
TransferAndRecieveData(dataBuffer []uint8) error
|
||||||
|
Loading…
x
Reference in New Issue
Block a user