You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know, that it does not matter much because pins with the number higher than 31 are not really accessible on board. But for consistency with WritePin, I think it should be fixed to: if (mem[levelReg] & (1 << uint8(pin & 31))) != 0 {
The text was updated successfully, but these errors were encountered:
go-rpio/rpio.go
Line 214 in 896db2e
I know, that it does not matter much because pins with the number higher than 31 are not really accessible on board. But for consistency with
WritePin
, I think it should be fixed to:if (mem[levelReg] & (1 << uint8(pin & 31))) != 0 {
The text was updated successfully, but these errors were encountered: