mirror of
https://github.com/kidoman/embd
synced 2025-07-03 03:47:33 +02:00
spi: got rid of shouldInitialize arg in spibus (redundant).
This commit is contained in:
parent
f80e6f624d
commit
454eca42d0
4 changed files with 23 additions and 31 deletions
|
@ -77,7 +77,7 @@ func init() {
|
|||
return embd.NewLEDDriver(ledMap, generic.NewLED)
|
||||
},
|
||||
SPIDriver: func() embd.SPIDriver {
|
||||
return embd.NewSPIDriver(spiDeviceMinor, generic.NewSPIBus, false, nil)
|
||||
return embd.NewSPIDriver(spiDeviceMinor, generic.NewSPIBus, nil)
|
||||
},
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue