bob
This commit is contained in:
1 parent
0474bb1c27
commit
d3fbd695d7
5 files changed
+10
-6
No files matched your search
+4
@@ -1028,6 +1028,10 @@ func (d *driverGPIO) Init() (bool, error) {
|
||||
if err := mapH5Pins(); err != nil {
|
||||
return true, err
|
||||
}
|
||||
case IsH6():
|
||||
if err := mapH5Pins(); err != nil {
|
||||
return true, err
|
||||
}
|
||||
default:
|
||||
return false, errors.New("unknown Allwinner CPU model")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user