Fix temp4_crit not being settable.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2551 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2004-05-18 19:50:05 +00:00
1 parent 078a40c7c6
commit e133906d1f
1 file changed
+1 -1
+1 -1
View File
@@ -1131,7 +1131,7 @@ void pc87365_in(struct i2c_client *client, int operation, int ctl_name,
PC87365_REG_IN_MAX,
data->in_max[nr]);
}
if (*nrels_mag >= 3 && nr > 11) {
if (*nrels_mag >= 3 && nr >= 11) {
data->in_crit[nr-11] = IN_TO_REG(results[2],
data->in_vref);
pc87360_write_value(data, LD_IN, nr,