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
Hi. Seems you forgot to increment "data" variable in function TM_I2C_ReadMultiNoRegister. You have
while (count--) { if (!count) { /* Last byte */ *data = TM_I2C_ReadNack(I2Cx); } else { *data = TM_I2C_ReadAck(I2Cx); } }
but correct code is
while (count--) { if (!count) { /* Last byte */ *data++ = TM_I2C_ReadNack(I2Cx); } else { *data++ = TM_I2C_ReadAck(I2Cx); } }
Bug introduced in f5bac03c6023bf437a309daf449d6b956e93b6fb
Could you fix it in upstream?
The text was updated successfully, but these errors were encountered:
Thanks for posting this. Will fix this.
Sorry, something went wrong.
No branches or pull requests
Hi.
Seems you forgot to increment "data" variable in function TM_I2C_ReadMultiNoRegister. You have
but correct code is
Bug introduced in f5bac03c6023bf437a309daf449d6b956e93b6fb
Could you fix it in upstream?
The text was updated successfully, but these errors were encountered: