blob: e9fcc27205abc19101c9585481b00bae6552c4e0 [file] [log] [blame]
Matt Spinlerfb35a322018-11-26 14:30:30 -06001#include "button_handler.hpp"
2
3int main(int argc, char* argv[])
4{
5 auto bus = sdbusplus::bus::new_default();
6
7 phosphor::button::Handler handler{bus};
8
9 while (true)
10 {
11 bus.process_discard();
12 bus.wait();
13 }
14 return 0;
15}