zephyr/drivers/sensor/nxp_kinetis_temp
Henrik Brix Andersen 2a6aa0be88 drivers: sensor: nxp_temp_kinetis: fix potential overflow
Fix a potential 32 bit multiplication overflow (muliplying by 10000
instead of 1000000) and change the calculations and units accordingly.

Improve the code readability and traceability towards NXP AN3031 by
using the same variable name as in the application note.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2020-04-06 15:39:36 -05:00
..
CMakeLists.txt
Kconfig
temp_kinetis.c drivers: sensor: nxp_temp_kinetis: fix potential overflow 2020-04-06 15:39:36 -05:00