Skip to content

Conversation

@nahuel
Copy link
Contributor

@nahuel nahuel commented Dec 8, 2013

In the current code, if the board gets a shorter or larger I2C reply, an string message is sent to the host with the warning. But then the I2C_REPLY is also sent to the host, without including the data data and without including the slave address and register. At least not including the address and the register is a bug.

I fixed the bug by changing the behaviour. When the board receives a shorter or larger I2C reply, a warning message will be sent, but also the reply including the slave address, the register (fixing the bug) and the data (truncated in the case of a larger than expected reply).

@nahuel nahuel closed this Dec 8, 2013
@soundanalogous
Copy link
Member

For some reason github is reporting this as unmergable (auto merge). Maybe because you had two pull requests with the same commit?

@nahuel
Copy link
Contributor Author

nahuel commented Dec 8, 2013

Don't know. I made a new pull request with a new branch at #111

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants