2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00

(mds) Change via686a temp prints from %3.0f to %3.1f (0.1 C precision)

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@760 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker
2000-03-08 02:23:30 +00:00
parent d1412ad83b
commit 27a40250d5

View File

@@ -529,7 +529,7 @@ void print_via686a(const sensors_chip_name *name)
!sensors_get_feature(*name,SENSORS_VIA686A_TEMP_OVER,&max)) {
if (valid) {
print_label(label,10);
printf("%+3.0f C (limit = %+3.0f C, hysteresis = %+3.0f C) %s\n",
printf("%+3.1f C (limit = %+3.0f C, hysteresis = %+3.0f C) %s\n",
cur,max,min, alarms&VIA686A_ALARM_TEMP?"ALARM":"");
}
} else
@@ -541,7 +541,7 @@ void print_via686a(const sensors_chip_name *name)
!sensors_get_feature(*name,SENSORS_VIA686A_TEMP2_OVER,&max)) {
if (valid) {
print_label(label,10);
printf("%+3.0f C (limit = %+3.0f C, hysteresis = %+3.0f C) %s\n",
printf("%+3.1f C (limit = %+3.0f C, hysteresis = %+3.0f C) %s\n",
cur,max,min, alarms&VIA686A_ALARM_TEMP2?"ALARM":"");
}
} else
@@ -553,7 +553,7 @@ void print_via686a(const sensors_chip_name *name)
!sensors_get_feature(*name,SENSORS_VIA686A_TEMP3_OVER,&max)) {
if (valid) {
print_label(label,10);
printf("%+3.0f C (limit = %+3.0f C, hysteresis = %+3.0f C) %s\n",
printf("%+3.1f C (limit = %+3.0f C, hysteresis = %+3.0f C) %s\n",
cur,max,min, alarms&VIA686A_ALARM_TEMP3?"ALARM":"");
}
} else