Skip to content
Commit e49cca2c authored by Maureen Helm's avatar Maureen Helm Committed by Alberto Escolar
Browse files

drivers: sensor: Fix adxl345 sample fetch return value



Fixes the adxl345 accelerometer driver to return zero on sample fetch
success, as specified by the sensor driver API. Prior to this change,
the driver incorrectly returned a positive non-zero value on sample
fetch success, which in turn caused a bus fault getting data with the
sensor shell.

Signed-off-by: default avatarMaureen Helm <maureen.helm@analog.com>
parent 0f7f6edc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment