Skip to content
Commit a47b88c0 authored by Armando Visconti's avatar Armando Visconti Committed by Carles Cufí
Browse files

drivers/sensor/st: iis2iclx: (fix) convert range into mg



Fix the sensor range setting at runtime which is currently returning error,
converting the SI (ms2) value passed thru SENSOR_ATTR_FULL_SCALE in mg (and
not in g) as this is the unit used in the driver internals.

Signed-off-by: default avatarArmando Visconti <armando.visconti@st.com>
parent c6f8d370
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment