Page MenuHomeFreeBSD

D61763.1795192018.diff
No OneTemporary

Authored By
Unknown
Size
393 B
Referenced Files
None
Subscribers
None

D61763.1795192018.diff

diff --git a/sys/dev/iicbus/sensor/tmp461.c b/sys/dev/iicbus/sensor/tmp461.c
--- a/sys/dev/iicbus/sensor/tmp461.c
+++ b/sys/dev/iicbus/sensor/tmp461.c
@@ -263,7 +263,7 @@
goto fail;
data -= offset;
- *temperature = extract_signed_bitfield_32(data, 0, 8) << 4;
+ *temperature = sign_extend_32(data << 4, 11);
if (remote_measure) {
if (sc->conf & TMP461_REMOTE_TEMP_DOUBLE_REG) {

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 20, 4:26 PM (18 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41870972
Default Alt Text
D61763.1795192018.diff (393 B)

Event Timeline