removed debug println

This commit is contained in:
Max Matveev 2016-02-06 19:28:29 -08:00
parent 5c026ec723
commit c868297e0b
1 changed files with 8 additions and 8 deletions

View File

@ -3,28 +3,28 @@
package rpi
import (
"fmt"
"os"
"sync"
"github.com/golang/glog"
"github.com/kidoman/embd"
"io/ioutil"
"fmt"
)
type w1Bus struct {
l byte
busMap map[string]embd.W1Device
Mu sync.Mutex
l byte
busMap map[string]embd.W1Device
Mu sync.Mutex
initialized bool
}
type w1Device struct {
file *os.File
addr string
file *os.File
addr string
initialized bool
bus *w1Bus
bus *w1Bus
}
func NewW1Bus(l byte) embd.W1Bus {
@ -37,7 +37,7 @@ func (b *w1Bus) init() error {
}
var err error
if _, err = os.Stat("/sys/bus/w1"); os.IsNotExist(err) {
if _, err = os.Stat("/sys/bus/w1"); os.IsNotExist(err) {
return err
}