Hound TxFreq at FoxFreq+300 ONLY if Tx3; and keep it below 900 Hz.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8636 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2018-04-24 14:42:36 +00:00
parent 79b04fa658
commit 6e6ce12c64

View File

@ -3320,9 +3320,11 @@ void MainWindow::guiUpdate()
ui->TxFreqSpinBox->setValue(nf); ui->TxFreqSpinBox->setValue(nf);
} }
} }
if (m_nSentFoxRrpt == 2) { if (m_nSentFoxRrpt==2 and m_ntx==3) {
// move off the original Fox frequency on subsequent tries // move off the original Fox frequency on subsequent tries of Tx3
ui->TxFreqSpinBox->setValue (m_nFoxFreq + 300); int nfreq=m_nFoxFreq + 300;
if(m_nFoxFreq>600) nfreq=m_nFoxFreq - 300; //keep nfreq below 900 Hz
ui->TxFreqSpinBox->setValue(nfreq);
} }
if (m_nSentFoxRrpt == 1) { if (m_nSentFoxRrpt == 1) {
++m_nSentFoxRrpt; ++m_nSentFoxRrpt;