updated dependencies

This commit is contained in:
didier committed 2024-07-27 13:21:53 -04:00
1 parent 0d2a167639
commit 01d9594857
4 files changed
+5 -4

No files matched your search

+1
View File
@@ -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)
}
}