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> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| lps22hh_i2c.c | ||
| lps22hh_spi.c | ||
| lps22hh_trigger.c | ||
| lps22hh.c | ||
| lps22hh.h | ||