zephyr/drivers/sensor/lsm303dlhc_magn
Kevin Townsend 21321fba1c drivers: sensor: lsm303dlhc_mag: Fix gain factor
The magnetometer on the LSM303DLHC has a different gain conversion
factor for LSB to Gauss for the Z axis than it does for X, Y. This
commit takes into account the different conversion factors, and
adds the correct coefficients for each gain setting and axis.

Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>
2021-10-04 20:40:43 -04:00
..
CMakeLists.txt
Kconfig
lsm303dlhc_magn.c drivers: sensor: lsm303dlhc_mag: Fix gain factor 2021-10-04 20:40:43 -04:00
lsm303dlhc_magn.h drivers: sensor: lsm303dlhc_mag: Fix gain factor 2021-10-04 20:40:43 -04:00