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

Method set_enabled_async

OpenHD/ohd_interface/src/wifi_hotspot.cpp:132–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132void WifiHotspot::set_enabled_async(bool enable) {
133 if (m_is_enabled == enable) return;
134 m_is_enabled = enable;
135 if (enable) {
136 start_async();
137 } else {
138 stop_async();
139 }
140}
141
142bool WifiHotspot::get_use_5g_channel(
143 const WiFiCard& wifiCard,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected