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

Support SPI minor devices >255 (PR #33)

This commit is contained in:
Thorsten von Eicken 2016-09-05 23:13:14 -07:00
parent 56cb934dbf
commit 6cfa481f30
6 changed files with 9 additions and 9 deletions

View file

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