updated dependencies
This commit is contained in:
1 parent
0f2ece3eaf
commit
f18d0f36f1
4 files changed
+7
-7
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.20240731015955-40dd791c9eca
|
||||
# periph.io/x/host/v3 v3.8.2 => github.com/didiercrunch/host/v3 v3.8.3-0.20240731020403-7fe82b3432d5
|
||||
## explicit; go 1.20
|
||||
periph.io/x/host/v3
|
||||
periph.io/x/host/v3/allwinner
|
||||
|
||||
+3
-3
@@ -310,9 +310,9 @@ func (p *Pin) Read() gpio.Level {
|
||||
// This function is very fast.
|
||||
func (p *Pin) FastRead() gpio.Level {
|
||||
|
||||
foo := drvGPIO.gpioMemory.groups[p.group]
|
||||
fmt.Printf("Group value is: %d", foo.data)
|
||||
return gpio.Level(foo.data&(1<<p.offset) != 0)
|
||||
foo := drvGPIO.gpioMemory.groups[p.group].data
|
||||
fmt.Printf("Group value is: %d", foo)
|
||||
return gpio.Level(foo&(1<<p.offset) != 0)
|
||||
}
|
||||
|
||||
// WaitForEdge implements gpio.PinIn.
|
||||
|
||||
Reference in new issue
Block a user