mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-12 16:50:15 +00:00
Drop SENSORS_MODE_NO_RW and SENSORS_MODE_RW. The mode is a bitfield,
we typically set, or test for, a specific bit. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4696 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
b0fb417996
commit
a30d37899f
3 files changed
+4
-8
No files matched your search
+2
-3
@@ -130,9 +130,8 @@ 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 SENSORS_MODE_NO_RW, SENSORS_MODE_R, SENSORS_MODE_W or
|
||||
SENSORS_MODE_RW, for unaccessible, readable, writable, and both readable
|
||||
and writable.
|
||||
mode 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. */
|
||||
typedef struct sensors_chip_feature {
|
||||
|
||||
Reference in new issue
Block a user