- Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
Please fix typo
Now in https://github.com/d2r2/go-i2c/blob/master/i2c.go#L209 was * instead of &
w := (value*0xFF00)>>8 + value<<8Fixed line:
w := (value&0xFF00)>>8 + value<<8But this variant more correct:
w := (value>>8)|(value<<8)Metadata
Metadata
Assignees
Labels
No labels