Skip to content
Commit 27b2914d authored by Marcin Niestroj's avatar Marcin Niestroj Committed by Maureen Helm
Browse files

sensors: lis2dh: fix raw value to sensor_value conversion



According to struct sensor_value documentation, val2 should be negative
for negative result. So drop code that tries to make val2 positive.

Signed-off-by: default avatarMarcin Niestroj <m.niestroj@grinn-global.com>
parent aae2c846
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment