2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-30 22:05:11 +00:00

Fix a harmless typo in w83792d in7 and in8 code. Patch from

Yuan Mu.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3265 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2006-03-03 19:45:55 +00:00
parent 335a3a3668
commit 357b01228e

View File

@@ -2612,10 +2612,11 @@ void print_w83792d(const sensors_chip_name *name)
printf("ERROR: Can't get IN6 data!\n");
free(label);
if (!sensors_get_label_and_valid(*name,SENSORS_W83782D_IN7,&label,&valid) &&
!sensors_get_feature(*name,SENSORS_W83782D_IN7,&cur) &&
!sensors_get_feature(*name,SENSORS_W83782D_IN7_MIN,&min) &&
!sensors_get_feature(*name,SENSORS_W83782D_IN7_MAX,&max)) {
if (!sensors_get_label_and_valid(*name, SENSORS_W83792D_IN7,
&label, &valid) &&
!sensors_get_feature(*name, SENSORS_W83792D_IN7, &cur) &&
!sensors_get_feature(*name, SENSORS_W83792D_IN7_MIN, &min) &&
!sensors_get_feature(*name, SENSORS_W83792D_IN7_MAX, &max)) {
if (valid) {
print_label(label,10);
printf("%+6.2f V (min = %+6.2f V, max = %+6.2f V) %s\n",
@@ -2625,10 +2626,11 @@ void print_w83792d(const sensors_chip_name *name)
printf("ERROR: Can't get IN7 data!\n");
free(label);
if (!sensors_get_label_and_valid(*name,SENSORS_W83782D_IN8,&label,&valid) &&
!sensors_get_feature(*name,SENSORS_W83782D_IN8,&cur) &&
!sensors_get_feature(*name,SENSORS_W83782D_IN8_MIN,&min) &&
!sensors_get_feature(*name,SENSORS_W83782D_IN8_MAX,&max)) {
if (!sensors_get_label_and_valid(*name, SENSORS_W83792D_IN8,
&label, &valid) &&
!sensors_get_feature(*name, SENSORS_W83792D_IN8, &cur) &&
!sensors_get_feature(*name, SENSORS_W83792D_IN8_MIN, &min) &&
!sensors_get_feature(*name, SENSORS_W83792D_IN8_MAX, &max)) {
if (valid) {
print_label(label,10);
printf("%+6.2f V (min = %+6.2f V, max = %+6.2f V) %s\n",