commit | 3bd1cfcb7d8293b1694aebb7f0e47fd53f7a5f60 | [log] [tgz] |
---|---|---|
author | Naveen Moses <naveen.mosess@hcl.com> | Mon Feb 14 18:04:20 2022 +0530 |
committer | Naveen Moses <naveen.mosess@hcl.com> | Tue Apr 05 16:21:13 2022 +0530 |
tree | 565fe42de279406c7fb2a398b1e51b00a78abd5a | |
parent | eea8a4a5f764d61cb96b14867a78f7e975e75656 [diff] [blame] |
Add Host selector button interface This change includes new button interface for the host selector switch. The button handler code is adapted to support both single host and multiple host power control dbus events. design : https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/45544 Signed-off-by: Naveen Moses <naveen.mosess@hcl.com> Change-Id: Icbfb22baaee057fd255c3ab0cba129693b913a9d
diff --git a/inc/button_interface.hpp b/inc/button_interface.hpp index 8648797..f37a29c 100644 --- a/inc/button_interface.hpp +++ b/inc/button_interface.hpp
@@ -50,8 +50,9 @@ ButtonIface* buttonIface = static_cast<ButtonIface*>(userdata); buttonIface->handleEvent(es, fd, revents); - return 0; } + + return 0; } std::string getFormFactorType() const