Skip to content
Commit e8d00908 authored by Bogdan Davidoaia's avatar Bogdan Davidoaia Committed by Inaky Perez-Gonzalez
Browse files

sensor: tmp007: fix negative sample values bug



Fix bug that caused negative temperature values to be computed incorrectly.
The sign bit needs to be perserved, when extracting the data sample from
the TMP007_REG_TOBJ register.

Jira: ZEP-499
Change-Id: Idbebd48b3164d7d4883352ef7128ef73be70e1b2
Signed-off-by: default avatarBogdan Davidoaia <bogdan.m.davidoaia@intel.com>
parent 65cc01ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment