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

Propagate the read status to the getEvent calls #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jerabaul29
Copy link

The aim of this pull request is to implement the propagation of the read status through the getEvent calls, as is discussed in #26 . This allows users to check if the value provided by a getEvents is valid or is invalid, and to avoid feeding corrupted data further the pipes.

Test: this has been tested on a Sparkfun Artemis MCU based board against the Adafruit ISM330DHCX + LIS3MDL FeatherWing - High Precision 9-DoF IMU, PRODUCT ID: 4569. All compiling, no issues. I do not have more breakouts to test this myself.

If you have any comments please let me know :) .

@eringerli eringerli mentioned this pull request Apr 28, 2022
eringerli added a commit to eringerli/Adafruit_LSM6DS that referenced this pull request May 1, 2022
@alunmj
Copy link

alunmj commented Feb 5, 2025

This looks like a useful and valid change to me - can we get this approved and merged, please? (Mentioning @tyeth, the last submitter to this repo, in the hopes that's someone who can move this along)

@tyeth
Copy link
Contributor

tyeth commented Mar 6, 2025

Just clearing emails and got to this 😅
Looks good, now it's been so long there needs to be the same functionality added to the other drivers too (assuming they behave/fail the same), and then testing.
Not going to get to this anytime soon soon, but will assign myself and see about ordering the missing bits.

@tyeth tyeth self-assigned this Mar 6, 2025
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.

3 participants