diff --git a/rfm69device.go b/rfm69device.go index d23da8e..17fd0a2 100644 --- a/rfm69device.go +++ b/rfm69device.go @@ -355,5 +355,6 @@ func (r *Device) writeFifo(toAddress byte, buffer []byte, requestACK, sendACK bo copy(tx[5:], buffer[:buffersize]) - return r.SpiDevice.TransferAndRecieveData(tx) + _, err := r.SpiDevice.Xfer(tx) + return err }