zephyr/drivers/sensor/tdk
Jilay Pandya 47fc9a1a59 drivers: sensor: tdk: fix icm42688 division by zero
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: Jilay Pandya <jilay.pandya@outlook.com>
2024-12-07 11:02:28 +01:00
..
icm42605 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
icm42670 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
icm42688 drivers: sensor: tdk: fix icm42688 division by zero 2024-12-07 11:02:28 +01:00
icp10125 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
mpu6050 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
mpu9250 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
CMakeLists.txt drivers: sensor: tdk: Refactor cmake and kconfig to vendor subdirectory 2024-09-16 10:06:03 +02:00
Kconfig drivers: sensor: tdk: Refactor cmake and kconfig to vendor subdirectory 2024-09-16 10:06:03 +02:00