summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2006-08-13 14:28:30 +0000
committerkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2006-08-13 14:28:30 +0000
commit0e3046623ed9f508e2ed28f10c807ad4c1b73a13 (patch)
tree1187698460bd7851480a871eb471a0ec0231bf0b
parent1cec9e273666d9cc58e80fd019058d4bb6f11603 (diff)
downloadlm-sensors-0e3046623ed9f508e2ed28f10c807ad4c1b73a13.tar.gz
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
-rw-r--r--prog/sensors/chips.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/prog/sensors/chips.c b/prog/sensors/chips.c
index b0c092e1..216b0eb8 100644
--- a/prog/sensors/chips.c
+++ b/prog/sensors/chips.c
@@ -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)) {