Skip to content
Commit 70bf26b3 authored by Mathieu Choplain's avatar Mathieu Choplain Committed by Alberto Escolar
Browse files

drivers: sensor: stm32_temp: convert samples in dedicated function



Factor out the ADC-sample-to-temperature conversion logic from the sensor
subsystem API implementation, and move it to a dedicated function.

This makes the driver more readable.

Signed-off-by: default avatarMathieu Choplain <mathieu.choplain@st.com>
parent d3072210
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment