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:
parent
4191327632
commit
1bb2bac8f1
5 changed files with 37 additions and 45 deletions
|
@ -18,7 +18,6 @@ func main() {
|
|||
}
|
||||
|
||||
bus := embd.NewSPIBus(embd.SpiMode0, 0, 1000000, 8, 0)
|
||||
|
||||
defer clean(bus)
|
||||
|
||||
for i := 0; i < 30; i++ {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue