mirror of
https://github.com/kidoman/embd
synced 2025-07-03 20:07:40 +02:00
spi: use a initializer if required by any host
This commit is contained in:
parent
faa686f01c
commit
42033238e2
4 changed files with 38 additions and 15 deletions
|
@ -77,7 +77,7 @@ func init() {
|
|||
return embd.NewLEDDriver(ledMap, generic.NewLED)
|
||||
},
|
||||
SPIDriver: func() embd.SPIDriver {
|
||||
return embd.NewSPIDriver(spiDeviceMinor, generic.NewSPIBus)
|
||||
return embd.NewSPIDriver(spiDeviceMinor, generic.NewSPIBus, false, nil)
|
||||
},
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue