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

Method update_arming_state

OpenHD/ohd_interface/src/wb_link.cpp:1583–1589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1581}
1582
1583void WBLink::update_arming_state(bool armed) {
1584 m_console->debug("update arming state, armed: {}", armed);
1585 // We just update the internal armed / disarmed state and then call
1586 // apply_tx_power - it will set the right tx power if the user enabled it
1587 m_is_armed = armed;
1588 m_request_apply_tx_power = true;
1589}
1590
1591void WBLink::wt_gnd_perform_channel_management() {
1592 if (m_profile.is_ground()) {

Callers

nothing calls this directly

Calls 1

debugMethod · 0.80

Tested by

no test coverage detected