Skip to content
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

Update getEvent to match new bool return value #9

Merged
merged 1 commit into from
Jul 3, 2017

Conversation

ryan-feeley
Copy link
Contributor

Return statement was missing from bool Adafruit_LIS3DH::getEvent(sensors_event_t *event).
Pattern matching with the ALDX345 library, the Adafruit_Sensor API was changed at some point,
and the proper value for the LIS3DH sensor is to return true.

I discovered the bug based on a warning from clang.

Return statement was missing from bool Adafruit_LIS3DH::getEvent(sensors_event_t *event).
Pattern matching with the ALDX345 library, the Adafruit_Sensor API was changed at some point.
@ladyada ladyada merged commit 17017f2 into adafruit:master Jul 3, 2017
@ladyada
Copy link
Member

ladyada commented Jul 3, 2017

thx!

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