Skip to content
Commit 81e8c6dc authored by Armando Visconti's avatar Armando Visconti Committed by Anas Nashif
Browse files

sensor: lis2dux12: fix SENSOR_ATTR_FULL_SCALE case



When setting the full scale through SENSOR_ATTR_FULL_SCALE the
driver must convert the g value (i.e. one of 2g/4g/8g/16g) to
the corrispondent sensor fs raw value.

Signed-off-by: default avatarArmando Visconti <armando.visconti@st.com>
(cherry picked from commit 2eaec8b7)
parent 57ef4996
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment