updated dependencies

This commit is contained in:
didier committed 2024-07-27 10:42:17 -04:00
1 parent d793742cb8
commit 483addf6a8
4 files changed
+8 -5

No files matched your search

+1 -1
View File
@@ -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.20240727143535-308c6cf7cff1
# periph.io/x/host/v3 v3.8.2 => github.com/didiercrunch/host/v3 v3.8.3-0.20240727144121-84e9c7e14f3e
## explicit; go 1.20
periph.io/x/host/v3
periph.io/x/host/v3/allwinner
+4 -1
View File
@@ -62,9 +62,12 @@ func IsH5() bool {
return detection.isH5
}
// IsH6 detects whether the host CPU is an Allwinner H6 CPU.
//
// It looks for the string "sun50i-h6" in /proc/device-tree/compatible.
func IsH6() bool {
detection.do()
return detection.isH5
return detection.isH6
}
//