[riot-notifications] [RIOT-OS/RIOT] drivers/lis2dh12: clean up API (#16328)
notifications at github.com
Wed May 5 08:34:53 CEST 2021
> This also means we no longer expose the raw interrupt callback to the user. This only leads to the user trying to access the I2C/SPI bus inside interrupt context (as done by the test application) to read the interrupt source.
> This is against the API contract and can lead to lock-ups if the user process is accessing the bus at the same time.
I have just took a quick look through the datasheet so please correct me if I'm wrong, but doesn't the API change limit the possible interrupt souces the user can set with `lis2dh12_set_int` gone?
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications