* 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. */
| 1092 | * the radio port open. |
| 1093 | */ |
| 1094 | void 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 | |
| 1105 | void uh_close_radio() |
no test coverage detected