Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
phosphor-buttons
/
4250785723d92b6578176a2d961d47ab66e08124
/
.
/
src
/
button_handler_main.cpp
blob: e71f8e436c6951a687f889c8ec476c29d14e1b58 [
file
] [
log
] [
blame
]
#include
"button_handler.hpp"
int
main
(
void
)
{
auto
bus
=
sdbusplus
::
bus
::
new_default
();
phosphor
::
button
::
Handler
handler
{
bus
};
while
(
true
)
{
bus
.
process_discard
();
bus
.
wait
();
}
return
0
;
}