From e9326a1e334a7074bde3c2d808f10d7c9a95c5cc Mon Sep 17 00:00:00 2001 From: Friedl Ulrich Date: Wed, 18 Feb 2015 22:02:23 +0100 Subject: [PATCH] Cleanup --- device.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/device.go b/device.go index 989ca1b..9eb5805 100644 --- a/device.go +++ b/device.go @@ -57,7 +57,7 @@ func (r *Device) writeReg(addr, data byte) error { tx := make([]byte, 2) tx[0] = addr | 0x80 tx[1] = data - log.Printf("write %x: %x", addr, data) + //log.Printf("write %x: %x", addr, data) _, err := r.SpiDevice.Xfer(tx) if err != nil { log.Println(err) @@ -73,7 +73,7 @@ func (r *Device) readReg(addr byte) (byte, error) { if err != nil { log.Println(err) } - log.Printf("read %x: %x", addr, rx[1]) + //log.Printf("read %x: %x", addr, rx[1]) return rx[1], err }