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

+2 -2
View File
@@ -112,7 +112,7 @@ int sensors_do_chip_sets(const sensors_chip_name *name);
const sensors_chip_name *sensors_get_detected_chips(const sensors_chip_name
*match, int *nr);
/* These defines are used in the mode field of sensors_feature_data */
/* These defines are used in the flags field of sensors_feature_data */
#define SENSORS_MODE_R 1
#define SENSORS_MODE_W 2
@@ -164,7 +164,7 @@ typedef struct sensors_feature_data {
sensors_feature_type type;
int mapping;
int compute_mapping;
int mode;
unsigned int flags;
} sensors_feature_data;
/* This returns all features of a specific chip. They are returned in