From 9b2efd1649875852963d6d284d5e180fe82e7262 Mon Sep 17 00:00:00 2001 From: Uwe Risse Date: Wed, 29 May 2024 16:00:25 +0200 Subject: [PATCH] Don't randomize Hound Tx frequency when in SuperFox mode. --- widgets/mainwindow.cpp | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index ec6ffde09..572de6892 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -4729,7 +4729,7 @@ void MainWindow::guiUpdate() } } } - else if (SpecOp::HOUND == m_specOp) { + else if (SpecOp::HOUND == m_specOp && !m_config.superFox()) { if(m_auto && !m_tune) { if (ui->TxFreqSpinBox->value() < 999 && m_ntx != 3) { // Hound randomized range: 1000-3000 Hz @@ -4740,16 +4740,14 @@ void MainWindow::guiUpdate() #endif } } - if (!m_config.superFox()) { - 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; - } + 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; } } }