commit | a70627a621a7698e58e7b1c1db5c74d70036453c | [log] [tgz] |
---|---|---|
author | TOKITA Hiroshi <tokita.hiroshi@fujitsu.com> | Sat Jul 23 23:31:53 2022 +0900 |
committer | Maureen Helm <maureen.helm@intel.com> | Wed Aug 10 10:54:16 2022 -0500 |
tree | 6939942882efab4b0dafa44701b2af22206f051c | |
parent | 9df7fbfaed52495e863774f6c07eb9947937717e [diff] |
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: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>