Skip to content
Commit a70627a6 authored by TOKITA Hiroshi's avatar TOKITA Hiroshi Committed by Maureen Helm
Browse files

drivers: sensor: adxl345: Correct converting counts to sensor value



Sensor value unit is [m/s^2].
Currently calcs as [g/1000] unit.

Correcting calculation to convert [m/s^2].
Store the integer part to val1, and the fractional part to val2.

Signed-off-by: default avatarTOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
parent 9df7fbfa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment