(bobd) fixed a small bug in the alarms

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@765 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Bob Dougherty committed 2000-03-09 06:55:33 +00:00
1 parent 5e184497dc
commit 9a072f2667
1 file changed
+1 -1
+1 -1
View File
@@ -684,7 +684,7 @@ void via686a_update_client(struct i2c_client *client)
i = via686a_read_value(client, VIA686A_REG_FANDIV);
data->fan_div[0] = (i >> 4) & 0x03;
data->fan_div[1] = i >> 6;
data->alarms = via686a_read_value(client, VIA686A_REG_ALARM1) ||
data->alarms = via686a_read_value(client, VIA686A_REG_ALARM1) |
(via686a_read_value(client, VIA686A_REG_ALARM2) << 8);
data->last_updated = jiffies;
data->valid = 1;