drivers/sensor: lis2mdl: Fix temperature sample handling
The lis2mdl temperature samples work with a level of 25 Celsius.
When temperature goes below that level the samples become negative
and there was an issue in properly propagating the sign.
Fix #35910
Signed-off-by:
Armando Visconti <armando.visconti@st.com>
Loading
Please sign in to comment