updated dependencies
This commit is contained in:
1 parent
0d2a167639
commit
01d9594857
4 files changed
+5
-4
No files matched your search
Vendored
+1
-1
@@ -13,7 +13,7 @@ periph.io/x/conn/v3/pin
|
||||
periph.io/x/conn/v3/pin/pinreg
|
||||
periph.io/x/conn/v3/spi
|
||||
periph.io/x/conn/v3/spi/spireg
|
||||
# periph.io/x/host/v3 v3.8.2 => github.com/didiercrunch/host/v3 v3.8.3-0.20240727170808-61eb97056116
|
||||
# periph.io/x/host/v3 v3.8.2 => github.com/didiercrunch/host/v3 v3.8.3-0.20240727172026-41d8349eec25
|
||||
## explicit; go 1.20
|
||||
periph.io/x/host/v3
|
||||
periph.io/x/host/v3/allwinner
|
||||
|
||||
+1
@@ -483,6 +483,7 @@ func (p *Pin) setFunction(f function) {
|
||||
drvGPIO.gpioMemory.groups[p.group].cfg[off] |= mask
|
||||
drvGPIO.gpioMemory.groups[p.group].cfg[off] &^= v
|
||||
if p.function() != f {
|
||||
fmt.Printf("Expected %d to equals %d \n", p.function(), f)
|
||||
panic(f)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user