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

drivers/sensor: use sensor APIs to convert to units



Make use of sensor_ug_to_ms2() and sensor_10udegrees_to_rad() APIs
to convert from raw values into proper units (i.e. m/s^2 for accel
and rad/s for gyro).

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