mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-25 20:28:21 +00:00
Restore errors on it87 in3 and in7, I misread the datasheets, these inputs
are always present, although different pins may be used. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4095 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
e554f90d33
commit
0d15763f81
1 file changed
+4
-2
@@ -3539,7 +3539,8 @@ void print_it87(const sensors_chip_name *name)
|
||||
printf("%+6.2f V (min = %+6.2f V, max = %+6.2f V) %s\n",
|
||||
cur,min,max,alarms&IT87_ALARM_IN3?"ALARM":"");
|
||||
}
|
||||
}
|
||||
} else
|
||||
printf("ERROR: Can't get IN3 data!\n");
|
||||
free(label);
|
||||
if (!sensors_get_label_and_valid(*name,SENSORS_IT87_IN4,&label,&valid) &&
|
||||
!sensors_get_feature(*name,SENSORS_IT87_IN4,&cur) &&
|
||||
@@ -3584,7 +3585,8 @@ void print_it87(const sensors_chip_name *name)
|
||||
printf("%+6.2f V (min = %+6.2f V, max = %+6.2f V) %s\n",
|
||||
cur,min,max,alarms&IT87_ALARM_IN7?"ALARM":"");
|
||||
}
|
||||
}
|
||||
} else
|
||||
printf("ERROR: Can't get IN7 data!\n");
|
||||
free(label);
|
||||
if (!sensors_get_label_and_valid(*name,SENSORS_IT87_IN8,&label,&valid) &&
|
||||
!sensors_get_feature(*name,SENSORS_IT87_IN8,&cur)) {
|
||||
|
||||
Reference in new issue
Block a user