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

Method any_card_support_frequency

OpenHD/ohd_interface/src/wb_link_helper.cpp:71–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71bool openhd::wb::any_card_support_frequency(
72 uint32_t frequency, const std::vector<WiFiCard>& m_broadcast_cards,
73 const std::shared_ptr<spdlog::logger>& m_console) {
74 bool any_supports_frequency = false;
75 for (const auto& card : m_broadcast_cards) {
76 if (wifi_card_supports_frequency(card, frequency)) {
77 any_supports_frequency = true;
78 }
79 }
80 return any_supports_frequency;
81}
82
83bool openhd::wb::set_frequency_and_channel_width_for_all_cards(
84 uint32_t frequency, uint32_t channel_width,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected