Add support for temperature offset files, which are part of the

standard sysfs interface. I don't think it makes much sense to
display the offset values as part of the output of "sensors" (it
would even probably confuse people) but having support for these
in libsensors makes it possible to adjust the offsets in
sensors.conf, which is convenient.

This closes ticket #2248.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4769 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2007-09-05 12:31:12 +00:00
1 parent 6b3803c386
commit 61686376df
3 files changed
+5 -1

No files matched your search

+1
View File
@@ -521,6 +521,7 @@ static const struct feature_subtype_match temp_matches[] = {
{ "crit_alarm", SENSORS_FEATURE_TEMP_CRIT_ALARM },
{ "fault", SENSORS_FEATURE_TEMP_FAULT },
{ "type", SENSORS_FEATURE_TEMP_TYPE },
{ "offset", SENSORS_FEATURE_TEMP_OFFSET },
{ NULL, 0 }
};