From da1d06618faa52a11c19b27daf0828685b70041d Mon Sep 17 00:00:00 2001 From: Friedl Ulrich Date: Tue, 3 Feb 2015 16:04:01 +0100 Subject: [PATCH] Fix for test --- rfm69device.go | 1 + 1 file changed, 1 insertion(+) diff --git a/rfm69device.go b/rfm69device.go index 00dd3c5..0a75fea 100644 --- a/rfm69device.go +++ b/rfm69device.go @@ -106,6 +106,7 @@ func (r *Device) setup() error { //pinMode(_slaveSelectPin, OUTPUT) //SPI.begin() + log.Println("start setup") for data, err := r.readReg(REG_SYNCVALUE1); err == nil && data != 0xAA; data, err = r.readReg(REG_SYNCVALUE1) { err := r.writeReg(REG_SYNCVALUE1, 0xAA) if err != nil {