Adafruit_LSM6DS icon indicating copy to clipboard operation
Adafruit_LSM6DS copied to clipboard

Propagate the read status to the getEvent calls

Open jerabaul29 opened this issue 4 years ago • 2 comments

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 :) .

jerabaul29 avatar Sep 15 '21 14:09 jerabaul29

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)

alunmj avatar Feb 05 '25 18:02 alunmj

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 avatar Mar 06 '25 00:03 tyeth