From 6e6ce12c64a93deda13d63f6c71b8100fe752396 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Tue, 24 Apr 2018 14:42:36 +0000 Subject: [PATCH] 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 --- mainwindow.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 6ffb22d43..f7e01229e 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -3320,9 +3320,11 @@ void MainWindow::guiUpdate() ui->TxFreqSpinBox->setValue(nf); } } - if (m_nSentFoxRrpt == 2) { - // move off the original Fox frequency on subsequent tries - ui->TxFreqSpinBox->setValue (m_nFoxFreq + 300); + if (m_nSentFoxRrpt==2 and m_ntx==3) { + // move off the original Fox frequency on subsequent tries of Tx3 + 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) { ++m_nSentFoxRrpt;