From 0e3046623ed9f508e2ed28f10c807ad4c1b73a13 Mon Sep 17 00:00:00 2001 From: khali Date: Sun, 13 Aug 2006 14:28:30 +0000 Subject: 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 --- prog/sensors/chips.c | 6 ++++-- 1 file 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)) { -- cgit v1.2.1