1
0
Fork 0
mirror of https://github.com/kidoman/embd synced 2025-07-03 11:57:38 +02:00

spi: variables/method name, err handling changes to follow idiomatic go

This commit is contained in:
kunalpowar 2014-05-08 23:09:31 +05:30
parent 4191327632
commit 1bb2bac8f1
5 changed files with 37 additions and 45 deletions

View file

@ -96,7 +96,7 @@ var ledMap = embd.LEDMap{
"beaglebone:green:usr3": []string{"3", "USR3", "usr3"},
}
var spiDeviceMinor = byte(1)
var spiDeviceMinor byte = 1
func ensureFeatureEnabled(id string) error {
glog.V(3).Infof("bbb: enabling feature %v", id)