1
0
mirror of https://github.com/kidoman/embd synced 2024-12-22 12:50:19 +01:00

fixing link errors

This commit is contained in:
kunalpowar 2014-05-22 14:41:07 +05:30
parent 64ce088b69
commit 6ad940090c

2
spi.go
View File

@ -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