mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-24 20:21:43 +00:00
sensors: Hide spurious errors on missing adm1026 inputs.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5052 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
b0d8c041aa
commit
f3363e1a31
2 files changed
+4
-2
No files matched your search
@@ -4849,7 +4849,8 @@ void print_adm1026(const sensors_chip_name *name)
|
||||
printf("%+6.2f V (min = %+6.2f V, max = %+6.2f V) %s\n",
|
||||
cur,min,max,(alarms&adm1026_alarms_in[i])?"ALARM":"");
|
||||
}
|
||||
} else {
|
||||
} else if (i != 8 && i != 9) { /* in8 and in9 are mutually exclusive
|
||||
with temp3 */
|
||||
printf("ERROR: Can't get IN%d data!\n",i);
|
||||
}
|
||||
free(label);
|
||||
@@ -4897,7 +4898,7 @@ void print_adm1026(const sensors_chip_name *name)
|
||||
print_temp_info( cur, max, min, MINMAX, 0, 0);
|
||||
puts( (alarms&adm1026_alarms_temp[i])?" ALARM":"" );
|
||||
}
|
||||
} else {
|
||||
} else if (i != 2) { /* temp3 is mutually exclusive with in8+in9 */
|
||||
printf("ERROR: Can't get TEMP%d data!\n",i+1);
|
||||
}
|
||||
free(label);
|
||||
|
||||
Reference in new issue
Block a user