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, and the proper value for the LIS3DH sensor is to return true.
I discovered the bug based on a warning from clang.