Skip to content

Commit

Permalink
chip: corrected platform version mapping, thanks @wfernandes
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Dec 3, 2016
1 parent c0651ab commit 7ac80c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/chip/chip_adaptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (c *Adaptor) Finalize() (err error) {

func (c *Adaptor) setPins() {
kernel := getKernel()
if string(kernel[0:2]) == "4.3" {
if kernel[:3] == "4.3" {
c.pinMap = pinsOriginal
} else {
c.pinMap = pins44
Expand Down

0 comments on commit 7ac80c0

Please sign in to comment.