From b21fda795e15fb7ba3e74d63518ff2a112d4c875 Mon Sep 17 00:00:00 2001 From: Vishwanatha Subbanna Date: Mon, 17 Oct 2016 17:46:37 +0530 Subject: Add LED grouping support This enables creating custom groups and participating LEDs so that it can later be generated from MRW. For each of the group, a dbus object is created which will announce LED actions. Fixes openbmc/openbmc#550 Change-Id: I7a56d08755288dcfce45ee4c6d6b6c5e5aa454f7 Signed-off-by: Vishwanatha Subbanna --- led-main.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 led-main.cpp (limited to 'led-main.cpp') diff --git a/led-main.cpp b/led-main.cpp new file mode 100644 index 0000000..e10c2fe --- /dev/null +++ b/led-main.cpp @@ -0,0 +1,9 @@ +#include "led-manager.hpp" +#include "config.h" + +int main(void) +{ + phosphor::led::Manager ledMgr(BUSNAME, OBJPATH, INTERFACE); + ledMgr.run(); + return 0; +} -- cgit v1.2.1