d
This commit is contained in:
1 parent
d3fbd695d7
commit
8e59ac2d74
5 files changed
+10
-4
No files matched your search
+2
@@ -5,6 +5,7 @@
|
||||
package allwinner
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
"sync"
|
||||
|
||||
@@ -41,6 +42,7 @@ 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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user