/* * SPDX-FileCopyrightText: Copyright (c) 2022-2024. * All rights reserved. SPDX-License-Identifier: Apache-2.0 */ #include "gpio_presence_manager.hpp" #include #include using namespace gpio_presence; auto main() -> int { lg2::debug("starting GPIO Presence Sensor"); sdbusplus::async::context ctx; gpio_presence::GPIOPresenceManager controller(ctx); controller.setupBusName(); controller.start(); ctx.run(); }