MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / GPIOControl

Method GPIOControl

OpenHD/ohd_telemetry/src/gpio_control/RaspberryPiGPIOControl.cpp:53–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53GPIOControl::GPIOControl() {
54 m_settings = std::make_unique<GPIOControlSettingsHolder>();
55 const auto& tmp = m_settings->get_settings();
56 configure_gpio(2, tmp.gpio_2);
57 configure_gpio(2, tmp.gpio_26);
58}
59
60std::vector<openhd::Setting> GPIOControl::get_all_settings() {
61 std::vector<openhd::Setting> ret;

Callers

nothing calls this directly

Calls 1

configure_gpioFunction · 0.85

Tested by

no test coverage detected