mirror of
https://github.com/kidoman/embd
synced 2025-07-03 11:57:38 +02:00
Support SPI minor devices >255 (PR #33)
This commit is contained in:
parent
56cb934dbf
commit
6cfa481f30
6 changed files with 9 additions and 9 deletions
|
@ -13,7 +13,7 @@ import (
|
|||
"github.com/kidoman/embd/host/generic"
|
||||
)
|
||||
|
||||
var spiDeviceMinor = byte(0)
|
||||
var spiDeviceMinor = 0
|
||||
|
||||
var rev1Pins = embd.PinMap{
|
||||
&embd.PinDesc{ID: "P1_3", Aliases: []string{"0", "GPIO_0", "SDA", "I2C0_SDA"}, Caps: embd.CapDigital | embd.CapI2C, DigitalLogical: 0},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue