zephyr/drivers/sensor/lps22hh
Armando Visconti c3050a5aab drivers/sensor: lps22hh: Fix int32 overflow in the val2 part
The val2 calculation was done using (1000000 / 40960) as
multiplying factor, which was sometimes leading to a
int32 overflow. So, let's use the equivalent (but smaller)
(3125 / 128).

Fix #38090

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2021-09-06 03:31:50 -04:00
..
CMakeLists.txt drivers: sensor: clean up zephyr_library calls 2021-06-30 09:36:33 -04:00
Kconfig
lps22hh_i2c.c
lps22hh_spi.c
lps22hh_trigger.c
lps22hh.c drivers/sensor: lps22hh: Fix int32 overflow in the val2 part 2021-09-06 03:31:50 -04:00
lps22hh.h drivers/sensor: Clean unused axis structures 2021-06-18 11:22:58 +02:00