diff --git a/mainwindow.cpp b/mainwindow.cpp index 330352509..406c7c613 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -2976,7 +2976,8 @@ void MainWindow::setXIT(int n) } if(m_bSplit) ret=rig->setSplitFreq(MHz(m_dialFreq)+xit,RIG_VFO_B); } - soundOutThread.setXIT(xit); + if(m_bSplit) soundOutThread.setXIT(xit); + if(!m_bSplit) soundOutThread.setXIT(0); } void MainWindow::setFreq4(int rxFreq, int txFreq) diff --git a/soundout.cpp b/soundout.cpp index 05daf6514..8693237c4 100644 --- a/soundout.cpp +++ b/soundout.cpp @@ -216,6 +216,7 @@ void SoundOutThread::run() } udata.ntrperiod=m_TRperiod; udata.ntxfreq=m_txFreq; + udata.xit=m_xit; udata.txMute=m_txMute; udata.btune=m_tune; @@ -250,6 +251,7 @@ void SoundOutThread::setTxFreq(int n) void SoundOutThread::setXIT(int n) { m_xit=n; + } void SoundOutThread::setTxSNR(double snr)