1
0
Fork 0
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:
kunalpowar 2014-05-08 23:09:31 +05:30
parent 4191327632
commit 1bb2bac8f1
5 changed files with 37 additions and 45 deletions

View file

@ -18,7 +18,6 @@ func main() {
}
bus := embd.NewSPIBus(embd.SpiMode0, 0, 1000000, 8, 0)
defer clean(bus)
for i := 0; i < 30; i++ {