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

Display PC87365/PC87366 VID.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2636 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2004-07-08 19:08:08 +00:00
parent 65df530eb5
commit 58fffd81d7

View File

@@ -4078,6 +4078,15 @@ void print_pc87366(const sensors_chip_name *name)
printf("ERROR: Can't get TEMP%d overtemperature data!\n", i + 1);
free_the_label(&label);
}
if (!sensors_get_label_and_valid(*name, SENSORS_PC87360_VID, &label, &valid)
&& !sensors_get_feature(*name, SENSORS_PC87360_VID, &cur)) {
if (valid) {
print_label(label, 10);
printf("%+6.3f V\n", cur);
}
}
free_the_label(&label);
}
static void lm92_print_temp (float n_cur,float n_high,float n_low,float n_crit,float n_hyst)