summaryrefslogtreecommitdiffstats
path: root/controller.cpp
diff options
context:
space:
mode:
authorVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2017-03-10 15:27:23 +0530
committerVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2017-03-13 18:24:20 +0530
commite089173fac7240173b227ac61d32fdf2ef367a83 (patch)
tree827aa6d5ecfe531e1632e19abb7c74ba4f29ceed /controller.cpp
parent7f6e809291b3281ab278a4b3c31874b4708c579d (diff)
downloadphosphor-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.cpp2
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());
OpenPOWER on IntegriCloud