updated dependencies

This commit is contained in:
didier committed 2024-08-03 21:12:40 -04:00
1 parent 2729a727dc
commit fb5f6a0d85
9 files changed
+52 -95

No files matched your search

-4
View File
@@ -5,7 +5,6 @@
package allwinner
import (
"fmt"
"strings"
"sync"
@@ -42,7 +41,6 @@ func IsA20() bool {
// It looks for the string "sun50iw1p1" in /proc/device-tree/compatible.
func IsA64() bool {
detection.do()
fmt.Printf("IsA64? %t\n", detection.isA64)
return detection.isA64
}
@@ -98,7 +96,6 @@ func (d *detectionS) do() {
d.done = true
if isArm {
for _, c := range distro.DTCompatible() {
fmt.Println("distro >>> " + c)
if strings.Contains(c, "sun50iw1p1") {
d.isA64 = true
}
@@ -117,7 +114,6 @@ func (d *detectionS) do() {
d.isH5 = true
}
if strings.Contains(c, "sun50i-h6") {
fmt.Println("isH6 detected")
d.isH6 = true
}
}