diff options
author | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | 2017-03-10 15:27:23 +0530 |
---|---|---|
committer | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | 2017-03-13 18:24:20 +0530 |
commit | e089173fac7240173b227ac61d32fdf2ef367a83 (patch) | |
tree | 827aa6d5ecfe531e1632e19abb7c74ba4f29ceed /controller.cpp | |
parent | 7f6e809291b3281ab278a4b3c31874b4708c579d (diff) | |
download | phosphor-led-sysfs-e089173fac7240173b227ac61d32fdf2ef367a83.tar.gz phosphor-led-sysfs-e089173fac7240173b227ac61d32fdf2ef367a83.zip |
Link to dbus interfaces library for using generated code
Change-Id: Id1c45d8c66deb499a92bfd94bc271f378245da34
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
Diffstat (limited to 'controller.cpp')
-rw-r--r-- | controller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controller.cpp b/controller.cpp index 656c9bf..4e83f58 100644 --- a/controller.cpp +++ b/controller.cpp @@ -62,7 +62,7 @@ int main(int argc, char** argv) // Create the Physical LED objects for directing actions. // Need to save this else sdbusplus destructor will wipe this off. - auto obj = phosphor::led::Physical(bus, objPath, path); + phosphor::led::Physical led(bus, objPath, path); /** @brief Claim the bus */ bus.request_name(busName.c_str()); |