MCPcopy Create free account
hub / github.com/Hamlib/Hamlib / uh_close_ptt

Function uh_close_ptt

src/microham.c:1094–1102  ·  view source on GitHub ↗

* Close routines: * Mark the channel as closed, but close the connection * to the microHam device only if ALL channels are closed * * NOTE: hamlib repeatedly opens/closes the PTT port while keeping the * the radio port open. */

Source from the content-addressed store, hash-verified

1092 * the radio port open.
1093 */
1094void uh_close_ptt()
1095{
1096 uh_ptt_in_use = 0;
1097
1098 if (!uh_radio_in_use && ! uh_wkey_in_use)
1099 {
1100 close_microham();
1101 }
1102}
1103
1104
1105void uh_close_radio()

Callers 1

ser_closeFunction · 0.85

Calls 1

close_microhamFunction · 0.85

Tested by

no test coverage detected