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

Method set_link_handle

OpenHD/ohd_telemetry/src/OHDTelemetry.cpp:87–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void OHDTelemetry::set_link_handle(std::shared_ptr<OHDLink> link) {
88 if (link == nullptr) {
89 openhd::log::get_default()->warn("set_link_handle - no link available");
90 return;
91 }
92 if (m_profile.is_air) {
93 m_air_telemetry->set_link_handle(link);
94 } else {
95 m_ground_telemetry->set_link_handle(link);
96 }
97}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected