diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-12-19 13:47:10 -0500 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-01-13 15:56:37 -0500 |
commit | b9e2b07eeb324f3cc8cf037986e5a43a09464419 (patch) | |
tree | cd05064837298fd2a8fdc61a52b09e901bf75649 /readd.cpp | |
parent | 6ae03303d54bad62a749f3a01c30d19230f55194 (diff) | |
download | phosphor-hwmon-b9e2b07eeb324f3cc8cf037986e5a43a09464419.tar.gz phosphor-hwmon-b9e2b07eeb324f3cc8cf037986e5a43a09464419.zip |
Add config options
Obtain the DBus service name prefix and sensors namespace
root path from the configure script.
Change-Id: I5c48882b62b09a466b3b7b30b3935d65ccc58326
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'readd.cpp')
-rw-r--r-- | readd.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -17,6 +17,7 @@ #include <memory> #include "argument.hpp" #include "mainloop.hpp" +#include "config.h" static void exit_with_error(const char* err, char** argv) { @@ -41,7 +42,10 @@ int main(int argc, char** argv) // Finished getting options out, so cleanup the parser. options.reset(); - MainLoop loop(path); + MainLoop loop( + path, + BUSNAME_PREFIX, + SENSOR_ROOT); loop.run(); return 0; |