Extend the documentation of sensors_init() and

sensors_get_adapter_name(). Paul Crawford asked questions about these
as he found the original documentation unclear. I'm including my
answers to his questions here, reformatted, so that other developers
can benefit from them too.
This commit is contained in:
Jean Delvare committed 2013-09-11 11:56:08 +00:00
1 parent ec4160f771
commit a3f215218f
3 files changed
+24 -6

No files matched your search

+2
View File
@@ -175,6 +175,8 @@ static int add_config_from_dir(const char *dir)
return res;
}
/* Ideally, initialization and configuraton file loading should be exposed
separately, to make it possible to load several configuration files. */
int sensors_init(FILE *input)
{
int res;