mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-08 16:11:26 +00:00
Unknown chip support
Some basic support, in the form of sensors_get_all_features(), for chips that are known to the library, but unknown to the application. prog/sensors has a demo of how to use this, in function print_unknown_chip in chips.c. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@110 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
dc9ff8085a
commit
2b415b8690
8 files changed
+282
-175
No files matched your search
@@ -39,13 +39,6 @@ typedef struct sensors_chip_features {
|
||||
struct sensors_chip_feature *feature;
|
||||
} sensors_chip_features;
|
||||
|
||||
#define SENSORS_NO_RW 0
|
||||
#define SENSORS_R 1
|
||||
#define SENSORS_W 2
|
||||
#define SENSORS_RW 3
|
||||
|
||||
#define SENSORS_NO_MAPPING -1
|
||||
|
||||
extern sensors_chip_features sensors_chip_features_list[];
|
||||
|
||||
/* Returns, one by one, a pointer to all sensor_chip structs of the
|
||||
|
||||
Reference in new issue
Block a user