20
// used for transceivers with a single vfo, called only by rigPTT
21
static void fake_split(int on)
24
selrig->set_vfoA(vfoB.freq);
25
selrig->set_modeA(vfoB.imode);
26
selrig->set_bwA(vfoB.iBW);
28
selrig->set_vfoA(vfoA.freq);
29
selrig->set_modeA(vfoA.imode);
30
selrig->set_bwA(vfoA.iBW);
34
// add fake rit to this function and to set_vfoA ??
39
pthread_mutex_lock(&mutex_serial);
41
if (on && progStatus.split && !selrig->can_split())
44
if (progStatus.comm_catptt) {
45
selrig->set_PTT_control(on);
46
} else if (progStatus.comm_dtrptt || progStatus.comm_rtsptt)
48
else if (SepSerial.IsOpen() && (progStatus.sep_dtrptt || progStatus.sep_rtsptt) )
51
LOG_INFO("No PTT i/o connected");
53
if (!on && progStatus.split && !selrig->can_split())
56
pthread_mutex_unlock(&mutex_serial);
57
// wait_query = false;