zephyr/drivers/sensor/lsm6ds0
Armando Visconti aa3f3d943a drivers/sensor: lsm6ds0: Fix SENSOR_DEG2RAD_DOUBLE macro
In order to convert from degrees to radiants the SENSOR_DEG2RAD_DOUBLE
macro must divide the argument by 180 degrees and multiply by PI
radiants, and not the other way around. Please note that same macro
is already defined in the correct way in other sensor drivers as well.
(Fix #39483)

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2021-11-03 08:16:45 -05:00
..
CMakeLists.txt drivers: sensor: clean up zephyr_library calls 2021-06-30 09:36:33 -04:00
Kconfig
lsm6ds0.c
lsm6ds0.h drivers/sensor: lsm6ds0: Fix SENSOR_DEG2RAD_DOUBLE macro 2021-11-03 08:16:45 -05:00