2
0
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:
Jean Delvare
2004-07-08 19:16:14 +00:00
parent 58fffd81d7
commit ec48efad1c
2 changed files with 2 additions and 4 deletions

View File

@@ -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;