Skip to content

Fix error in operator precedence #16

New issue

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

Merged
merged 1 commit into from
Jun 8, 2018
Merged

Conversation

iliasbartolini
Copy link
Contributor

Hi,
I had no opportunity to test with real hardware both scenarios but this seems an obvious fix.
I have a broken sensor only with caused this to happen.

Please double check it before merging.

Ilias

@nseidle
Copy link
Member

nseidle commented Jun 8, 2018

Whew! We just had quite the conversation here about what a ! will do in front of a function that returns a uint8_t. In summary, we shouldn't have done it.

Thank you for this commit! It helps make the code better.

@nseidle nseidle merged commit 9278add into sparkfun:master Jun 8, 2018
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