Skip to content
Commit 4e8c809d authored by Armando Visconti's avatar Armando Visconti Committed by Kumar Gala
Browse files

drivers/sensor: lps22hh: Fix the raw to kPa sample conversion



The lps22hh 24 bit raw sample is left aligned, which means that
it needs to be right-shifted by 8 before applying conversion.
Moreover the conversion has been simplified for clarity.

Fix #35871

Signed-off-by: default avatarArmando Visconti <armando.visconti@st.com>
parent 92afba62
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment