Rename sensors_feature_data.mode to flags, as we plan to use it to

store non-mode flags soon.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4757 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2007-09-05 08:13:15 +00:00
1 parent 079ba26574
commit 87efbc06c5
7 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -132,7 +132,7 @@ typedef struct sensors_bus {
compute_mapping is like logical_mapping, only it refers to another
feature whose compute line will be inherited (a group could be fan and
fan_max, but not fan_div)
mode is a bitfield, its value is a combination of SENSORS_MODE_R (readable)
flags is a bitfield, its value is a combination of SENSORS_MODE_R (readable)
and SENSORS_MODE_W (writable).
scaling is the number of decimal points to scale by.
Divide the read value by 10**scaling to get the real value. */