2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00

Fix missing semicolon (stupid me).

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1932 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2003-08-01 09:17:17 +00:00
parent e4f94587c8
commit fbdaf86be0

View File

@@ -2600,8 +2600,8 @@ sub w83781d_detect
$reg1 = i2c_smbus_read_byte_data($file,0x4a);
@res = (8);
@res = (7) # Asus chips were always seen at 0x2d
if ($chip >= 4 && $chip <= 6 && $addr != 0x2d)
push @res, ($reg1 & 0x07) + 0x48 unless $reg1 & 0x08 ;
if ($chip >= 4 && $chip <= 6 && $addr != 0x2d);
push @res, ($reg1 & 0x07) + 0x48 unless $reg1 & 0x08;
push @res, (($reg1 & 0x70) >> 4) + 0x48 unless ($reg1 & 0x80 or $chip == 2);
return @res;
}