1
0
mirror of https://github.com/kidoman/embd synced 2024-06-01 08:38:05 +02:00

OneWire bus impl - removed debug println statements

This commit is contained in:
Max Matveev 2016-02-05 22:26:32 -08:00
parent 14009091a0
commit 7497131d02

View File

@ -13,7 +13,6 @@ package rpi
import ( import (
"github.com/kidoman/embd" "github.com/kidoman/embd"
"github.com/kidoman/embd/host/generic" "github.com/kidoman/embd/host/generic"
"fmt"
) )
var spiDeviceMinor = byte(0) var spiDeviceMinor = byte(0)
@ -76,7 +75,6 @@ var ledMap = embd.LEDMap{
} }
func init() { func init() {
fmt.Println("registering RPI")
embd.Register(embd.HostRPi, func(rev int) *embd.Descriptor { embd.Register(embd.HostRPi, func(rev int) *embd.Descriptor {
// Refer to http://elinux.org/RPi_HardwareHistory#Board_Revision_History // Refer to http://elinux.org/RPi_HardwareHistory#Board_Revision_History
// for details. // for details.
@ -106,5 +104,4 @@ func init() {
}, },
} }
}) })
fmt.Println("registered")
} }