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:
parent
212ddeafe6
commit
9c54f052e3
|
@ -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")
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user