We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please fix typo
Now in https://github.com/d2r2/go-i2c/blob/master/i2c.go#L209 was * instead of &
*
&
w := (value*0xFF00)>>8 + value<<8
Fixed line:
w := (value&0xFF00)>>8 + value<<8
But this variant more correct:
w := (value>>8)|(value<<8)
The text was updated successfully, but these errors were encountered:
Same issue also at line https://github.com/d2r2/go-i2c/blob/master/i2c.go#L231
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Please fix typo
Now in https://github.com/d2r2/go-i2c/blob/master/i2c.go#L209 was
*
instead of&
Fixed line:
But this variant more correct:
The text was updated successfully, but these errors were encountered: