Page MenuHomeFreeBSD

D61762.1795192294.diff
No OneTemporary

Authored By
Unknown
Size
393 B
Referenced Files
None
Subscribers
None

D61762.1795192294.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:31 PM (19 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41870972
Default Alt Text
D61762.1795192294.diff (393 B)

Event Timeline