zephyr/drivers/sensor/tdk/icm42688
Tom Burdick 5474b611cb icm42688: Fix divide by zero potential
There were code paths that could have lead to divide by zero given an
invalid scale setting for accel or gyro. In practice this should be an
invalid setup even before getting to these conversion functions. The
conversion functions now better show all valid values are accounted for
by using CODE_UNREACHABLE in the default case.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2024-07-27 15:10:27 +03:00
..
CMakeLists.txt
icm42688_common.c icm42688: Follow st's devicetree bindings 2024-06-26 14:13:21 -04:00
icm42688_decoder.c icm42688: Follow st's devicetree bindings 2024-06-26 14:13:21 -04:00
icm42688_decoder.h
icm42688_emul.c
icm42688_emul.h
icm42688_reg.h
icm42688_rtio_stream.c sensors: ICM42688 read/writes chain callbacks 2024-07-08 17:18:16 -04:00
icm42688_rtio.c sensor: icm42688: Use RTIO workq on icm42688_submit 2024-07-09 17:21:05 -04:00
icm42688_rtio.h sensors: Submit call returns void 2024-06-14 19:13:02 +02:00
icm42688_spi.c
icm42688_spi.h
icm42688_trigger.c
icm42688_trigger.h
icm42688.c icm42688: Follow st's devicetree bindings 2024-06-26 14:13:21 -04:00
icm42688.h icm42688: Fix divide by zero potential 2024-07-27 15:10:27 +03:00
Kconfig sensor: icm42688: Use RTIO workq on icm42688_submit 2024-07-09 17:21:05 -04:00