mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 14:25:39 +00:00
Fix LM75 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2637 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -2840,8 +2840,7 @@ sub lm75_detect
|
||||
$hyst = swap_bytes($hyst);
|
||||
$os = swap_bytes($os);
|
||||
# Unused bits
|
||||
return if ($conf & 0xe0) or ($cur & 0x007f) or ($hyst & 0x007f)
|
||||
or ($os & 0x007f);
|
||||
return if ($conf & 0xe0);
|
||||
|
||||
$cur = $cur >> 8;
|
||||
$hyst = $hyst >> 8;
|
||||
|
Reference in New Issue
Block a user