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