mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-07 16:01:34 +00:00
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:
1 parent
078a40c7c6
commit
e133906d1f
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user