updated dependencies
This commit is contained in:
1 parent
d793742cb8
commit
483addf6a8
4 files changed
+8
-5
No files matched your search
+4
-1
@@ -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
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user