Skip to content

Commit

Permalink
missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsgrill committed Mar 21, 2020
1 parent a0cc45e commit e302b7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/wiringpi/wiringPi_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ func (*WiringPiIO) PinMode(pin int, mode int) error {
} else {
C.pinMode((C.int)(pin), (C.int)(mode))
}
return nil
}

func (*WiringPiIO) PwmWrite(pin int, value int) error {
Expand Down

0 comments on commit e302b7b

Please sign in to comment.