zephyr/drivers/sensor/tmp108
Boris Mulder f87143d919 drivers: sensor: tmp108: Handle negative values correctly
Negative temperatures were converted to the sensor_value struct
incorrectly.
This fixes the causes: signed/unsigned mixups and integer overflows.
Also clarified temperature calculation using multiplier/divisor config
values.

Fixes #68240

Signed-off-by: Boris Mulder <b.mulder@innoseis.com>
2024-03-29 15:09:25 +00:00
..
CMakeLists.txt
Kconfig drivers: sensor: add ams AS621x Temperature Sensor driver support 2022-10-07 10:01:47 +02:00
tmp108.c drivers: sensor: tmp108: Handle negative values correctly 2024-03-29 15:09:25 +00:00
tmp108.h drivers: sensor: tmp108: Handle negative values correctly 2024-03-29 15:09:25 +00:00
tmp108_trigger.c drivers,subsys: fix few missing k_work_delayable_from_work 2023-08-28 10:12:21 +02:00